Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class is not licensed for use
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00883692
Message ID:
00883713
Vues:
7
Bob,

I would bet you're instantiating the mscomm control via createobject(). With VFP, you must add the ActiveX control to a visual container instead of instantiating via createobject() in a distributable application. Otherwise, you will get the licensing error you experienced. In other words, no oComm = ocomm=Createobj('mscommlib.mscomm') will go unpunished.

Adding the ActiveX control to a visual container, such as a form, will enable you to use the control without the error.

regards,

JE


>I am using multiple controls from a third party provider that apparently utilize classes in the mscomctl.ocx file (treelist and listview controls). I have multiple computers that have used these controls successfully, however, one machine (a Windows XP machine) did not have this file. I got the error '...not properly registered on this computer.' when trying to instatiate these objects. I copied the mscomctl.ocx file to the windows\system32 folder and used regsvr32 to register the control.
>
>Now I am getting the 'Class is not licensed for use' error. How can I resolve this issue? I use InstallShield Express to create setup files for this application. Do I just need to add a control library from there, and if so, which one? Any help is appreciated.
>
>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform