Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Error - Appropriate License
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00242193
Message ID:
00243928
Views:
20
>>I'd venture a guess that some or all of the registry entries involved are assigned under the current HKEY_CURRENT_USER (which is really just the current hive of HKEY_USERS in effect at the moment.) If that's the case, you'd have to register the object for each userid; it'd get ugly fast.
>
>Fraid not! It updates HKEY_CLASSES_ROOT\Licenses I'm not sure if it creates a new key or updates an existing one.

One of our users was having a related problem.

Look at the MSDN knowledge base for entry 'Q192693' regarding instantiating an ActiveX control at runtime (i.e. CREATEOBJECT, .AddObject). There is a bug in VFP6 when instantiating at runtime where it will give an "Appropriate license for this class not found." The article shows a workaround.
R. Scott Mackay
Classy Components Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform