Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crazy behaviour
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00850380
Message ID:
00850395
Vues:
12
Hi Rex,

ActiveX control licensing is handled through the Windows API calls and the ActiveX control communicating with those APIs. Most ActiveX controls provide a Developer's License. This license is usually done by providing a separate file that has an LIC file extension that must be installed onto your development system in the same folder as the OCX control. It also typically uses the same name STEM name as the OCX control. Therefore, you must make sure that the LIC files are not getting DELETED from your PC on a daily basis as it sounds as to what is happening. This is not to say that the ActiveX controls are using another licensing scheme such as the registry but that would be atypical.

My Report Engine ActiveX control looks for the LIC file anytime that the control is instantiated. This would include anytime it is dropped onto a VFP Form at Design Time or at Runtime. Since you are working in a Design Time environment the controls are most likely looking for the LIC file at design time. When you install your control the LIC license file is copied onto your PC and available to be read when the control requests it's licensing file. However, it sounds like something is either removing or renaming your LIC files each and every day. If you leave your PC on overnight, is the control remaining licensed and not giving you the CLASS IS NOT LICENSED FOR USE?

I would try to determine what is deleting or renaming your LIC files.

I do not believe that your problem is related to the OS or to VFP 7. However, you should check for any viruses with the latest update anti-virus software. Also, search your drive for the LIC file extension files and then print that list of files and then when you have the problem again search for those files before reinstalling to see if they are missing.


Hi All,

I raised this issue a week ago but still have no resolution. Again, I ask for help to resolve it.

The problem is that I have the ActiveX program ImageViewer from Viacom Software which I installed okay. It worked fine for a few weeks but suddenly when I tried to edit a form where I had placed the control, the following message now comes up: "OLE error code 0x80040112. Class is not licenced for use. OLE object is being ignored. Record number is 46."

If I ignore the message, the form opens without the OLE object. However, if I cancel and externally re-install the ActiveX program, the form then opens without an error and with the ActiveX control working fine. It appears that internally the contol is only being licenced for one calendar day.

At the beginning, I thought the ActiceX control itself had a problem, but I use another ActiveX - Dynazip - and it also gives me the same message.

I am using VFP7 SP2 and Windows XP Home edition will all patches installed to date. I would appreciate any help with this issue.

Regards...Rex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform