Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OCX Licensing Problem
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00247623
Message ID:
00247635
Views:
44
Emmanuel,
There is a bug in VFP 6 that causes this error if the client does not have
the design time license and you use CreateObject() to instantiate it.

The workaround is the create a OleControl class and base it on the winsock control, and instantiate the class containing the control instead at runtime.

There is a microsoft KB article on this if you want to read further.

>I have a VFP 6 application that uses the MSWINSCK.OCX control. Every time I try to instantiate it, I get an error message about not having an "Appropriate license". I downloaded the FOX.REG file and imported the Foxpro keys into my registry. However, I am still getting the same message every time the class is instantiated. Is there a more recent version of the FOX.REG file? Apparently, it does not have the entries for the MSWinsck control.
>
>Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform