MSMAPI Error, Class is not licensed for use in windows XP 
Author Message
 MSMAPI Error, Class is not licensed for use in windows XP

Hello, ahtai!

Check these:
http://www.*-*-*.com/ ;EN-US;Q192693
http://www.*-*-*.com/ ;EN-US;Q139154

A workaround is to add the mapi controls to a form of form class. Create an
instance of the form/class and use references to the mapi controls on this
form:

DO form_with_mapi_controls NAME frmMapi NOSHOW

* oSession=CREATEOBJECT("MSMAPI.MAPISession.1")
oSession = frmMapi.mapisessioncontrol
oSession.DownloadMail=.F.
oSession.SignOn()

lnSessionID= oSession.Sessionid
* Return -1 if unable to sign on
IF lnSessionID=0
 RETURN -1
ENDIF

* Create message object
* oMessage=CREATEOBJECT("MSMAPI.MAPIMessages.1")
oMessage = frmMapi.mapimessagecontrol

---
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8



Tue, 06 Sep 2005 14:46:55 GMT  
 MSMAPI Error, Class is not licensed for use in windows XP
Hello, ahtai!

Quote:
> You wrote  on Sun, 23 Mar 2003 07:54:16 +0800:

Please change your pc system date/time.
---
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8


Tue, 06 Sep 2005 16:27:36 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Error 1426 - OLE error: Appropriate license for this class not found

2. OLE error code 0x80040112: Appropriate license for this class not found

3. "OLE error code 0x80040112:Appropriate license for this class not found

4. HELP : OLE error code 0x90040112: Appropiate license for this class not found

5. "Class is not licensed for use."

6. ActiveX Problem - Appropriate License for this Class Not Found

7. Class is not licensed for use

8. Appropriate license not found, using MSCOMM32.OCX

9. I am unable to change parent class in class browser

10. OLE error code 0x80040112:Appropriate license not found

11. Cannot merge Visual FoxPro 6 data source using MS Query in Word 97 on Windows XP

12. Looking for a control like the one that XP Windows Explorer uses

 

 
Powered by phpBB® Forum Software