Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to trap errors reported by OLEcontrols (MAPI)
Message
 
To
15/10/1999 16:24:41
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00277097
Message ID:
00277105
Views:
46
Hi Mike,

Thanks for the info.
Unfortunately, the array populated by AERROR() does not contain the OLE error code, it contains just the message and the description.

>
>>Any error that occurs in OLE controls (like MAPI, which I am currently working with), is reported by VFP as errror code 1427 or 1429 and the error message returned by the OLE control. Most of the time I also need to know the error code reported by the OLE control, like 32001 in MAPI is User cancelled action. That would be good to know and not report it as an error.
>
>Where ever you trap the 1427 - 9, you can do an AError() to grab the OLE specific info.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform