Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Register Activex on the fly at run time
Message
De
19/07/1999 08:24:37
 
 
À
18/07/1999 22:16:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00242930
Message ID:
00243022
Vues:
36
>>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform