Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with OLE Messaging
Message
 
To
24/06/1997 13:11:19
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00037607
Message ID:
00037676
Views:
28
>I'm trying to use OLE messaging to send email, but whenever I execute
>CREATEOBJECT("MAPI.Session") I get the following error: "Class
>definition MAPI.Session is not found".
Ron,

Check the registry for windows under HKEY_CLASSES_ROOT and see what the class name for the MAPI sseeion is. I have two listed on mny machine MAPI.Session and MAPI.Session.1. If you have none listed then MAPI ocx is not installed on your machine and you cannot use it.

You may need to reinstall VFP in order to get the control installed properly. You can try running RegSvr from a commadn prompt and giving it the name of the OCX file, that may register the ocx for you successfully.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform