General information
Category:
ActiveX controls in VFP
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only