Hi
Since I am trying to use MS MAPI control why do I need a license? Secondly the error also occurs when I tried to drop an OLE class on a form a design time and choose the "MS MAPI" control. I could understand it if I was trying to use a 3rd part MAPI control. This does not happen on my workstation nor does it happen on any other of my clients.
Thanks
Simon
>>Hi
>>
>>I had a strange error occur on a client's Windows XP Home computer. When I tried:
>>
>>lo=CreateObject("MSMAPI.MAPISession")
>>
>>in the VFP 7.0 command window I get the message saying "Class is not licensed for use". Does anyone know why I cannot use the MS MAPI control on tis computer?
>>
>>Thanks,
>>Simon
>
>This usually occurs when you only have a design time license. You'll need to drop an instance of the class on a form, rather than trying to CREATEOBJECT().
Simon White
dCipher Computing