>>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.
Jim,
I checked the registry and found that I neither MAPI.Session nor MAPI.Session.1 is listed, so it's obviously not installed. It's also not included in VFP's setup, but I think I can get it from Microsoft's FTP server. Thanks for your help!
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement