C
Composer
Automating Outlook 2000. Sometimes I get the following error once or
twice when first using the SyncObject.Start instruction:
Run-time error '-1940651765 (8c54010b)';
The operation failed. An object could not be found.
(The highlighted line of code is the SyncObject.Start code.)
Whenever I get past this error (using F8 to step through the code), it
works fine until I restart my application. It's as though the
SyncObject is not really there for the first few seconds, despite the
proof that it IS there: I can see it in the Locals window, and its
Name property has previously been checked via Debug.Print
Although I can get past this line of code, the result is unacceptable;
my newly created mail item remains in the Drafts folder. (I put it
there using Redemption.)
twice when first using the SyncObject.Start instruction:
Run-time error '-1940651765 (8c54010b)';
The operation failed. An object could not be found.
(The highlighted line of code is the SyncObject.Start code.)
Whenever I get past this error (using F8 to step through the code), it
works fine until I restart my application. It's as though the
SyncObject is not really there for the first few seconds, despite the
proof that it IS there: I can see it in the Locals window, and its
Name property has previously been checked via Debug.Print
Although I can get past this line of code, the result is unacceptable;
my newly created mail item remains in the Drafts folder. (I put it
there using Redemption.)