Yes, it was it
Thank you very much Christof
>>I suppose it is referred to the winsock class, but it is just my opinion.
>
>Some ActiveX controls require license information. When you use an ActiveX control on a developer machine, this license information is stored in the OLE field of the VCX or SCX. Since there is not OLE field in a PRG file, you cannot use these controls in just a PRG file. As a simple work around, create a new visual class inheriting von OLEControl:
>
>Create Class myCtrl of ActiveX as OleControl
>
>Pick the ActiveX and save the class. Then replace the CREATEOBJECT() lines in your code with
>
>loCtrl = NEWOBJECT("myCtrl","ActiveX.VCX")
>
>Some controls cannot be instatiated this way. In this case you need to create a form class, add the ActiveX control to the form, replace the CreateObject() lines with the form and then use loForm.OleControl1 (or whatever you named it) instead of the existing reference.