Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Correction...
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00297391
Message ID:
00297869
Views:
26
>Microsoft has an article on this problem. Their solution is to run your ActiveX control from a VCX file rather than from a class created in code. Apparently it works properly then. This solved my ActiveX problem when I got the error message about not having the appropriate license.
>
>
>>>The correct error message is Appropriate error license not found for this class.
>>>
>>
>>This is usually caused by incorrect creation of runtime registration details for an ActiveX control - you can usually apply the FOX.REG file (available for download here on UT) or use Doug hennig's SFActiveX class to handle the runtime registration of controls (which adds the registry information included in the .REG file as needed programmatically.)

Definitely not applicable here, first, it's isn't an ActiveX control, it's the COM object from WP Win. Second, how does using the VCX change things? The only place it might make life easier is in constructing the Setup Wizard distribution - from a practical perspective, using a class in a VCX vs built in code should have no real effect. You can verify that by using the Class Browser to show you the code in the class; if it's the same as the code you generated by hand, it should not make a difference where it comes from, other than as to the ease that it can be added to a form.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform