Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Problems with Outlook 2000
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00248968
Message ID:
00249146
Views:
22
>>After upgrading to Outlook 2000 I keep getting the following message when closing the window from Outlook without sending the message
>>
>>OLE Idispatch exception code 0 from MAPIMessages : user cancelled process....
>>
>>If I send the mail there are no problems. The button was based on the Sendmail button from the FFC.
>>
>>Help anyone ?????
>>
>>Guillaume
>
>I've also had reports of this related to my MAPI Class. I'm going to put an error handler in there to filter out OLE errors. It seems that Outlook produces an exception if the user cancels instead of returning a value (I believe this is a Windows thing - more efficient or something).

I believe this is fairly common in the Windows dialog boxes for the Cancel button to trip an error that you have to trap. I've experienced it in the Common Dialog controls. Apparently they wanted to "notify" you that the user cancelled. I would think they could have come up with better way. :-)

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform