Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class is not licensed for use.
Message
 
To
12/05/2000 11:49:25
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00369033
Message ID:
00369323
Views:
25
I had a problem with ActiveX controls using the Createobject() function. When I contacted the the developer of the product they said there was a problem in VFP with ActiveX controls. Their solutions was to use the Newobject() function with the ActiveX control in a VCX file. I previously had used Createobject() from a PRG file without the ActiveX control being in a VCX file. It worked fine on my development machine but game me the error you have when I tried it on the clients machine. I had previously registered the control properly on the client machine. However, when I used the NewObject() function and a VCX the problem disappeared.


Simon White


>>I have just done a fresh complete install of windows 2000. I installed pdqcom32.ocx using regsrv32, My code when compiled works fine and reads the serial port. When I try to open the form in VFP I get the message Class is not licensed. I searched on msdn but did not find anything.Anyone have any ideas ?
>>
>>TIA
>>
>>Ian
>
>Not positive on this one, but after registering the control manually, did you go into Tools/Options/Controls in VFP and make sure the control was in the list and checked? I've seen VFP do some "funny" things in this regard.
Simon White
dCipher Computing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform