Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Register Activex on the fly at run time
Message
From
19/07/1999 08:24:37
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00242930
Message ID:
00243022
Views:
33
>>I need to add an Activex control to one of my apps that is installed on lots of client machines. Is there a way to register the control on the fly at run time so I can avoid re-installing the app with a setup program on all of the machines? I don't care if the registration is permanent or just while the app runs.
>>
>
>
>Alternatively, with a small amount of coding, you can also call the self-registration ejtrypoints for the component programmatically through calls to the OCX/DLL's self-registration code. There is sample code in the FAQ that could be adapted to this if you don't want to rely on REGSVR32 to do this, but you'll have to get the code written correctly for the control, since at a minimum, the DECLARE...DLL statements needed for the call are case-sensitive.
>
>
Thanks,
I used the code in the FAQ and it works fine. Sorry I missed it before

David
__________________________________________________
Mesa Vista Software (david@mesa-vista.com)
Previous
Reply
Map
View

Click here to load this message in the networking platform