Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registering Controls from inside VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00490297
Message ID:
00490305
Vues:
8
>Is there a way inside VFP (preferably without the RUN command) to determine if a control (DLL or OCX) has been registered, and if not register it?
>
>Bryan A. Jackson
>FOCUS CMC

You can use the registry class to determine if the ProgID key exists. Any ActiveX control that can be successful registered using RegSvr32 contains the function DllRegisterServer() that's contained in the control. There is a problem with this, however. Should the control require a run-time as opposed to design time license, the control may be registered but not usable at run-time. It's best to do a proper install.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform