Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining If ActiveX Control Is Registered
Message
De
30/08/2000 23:27:56
 
 
À
30/08/2000 18:12:14
Ronald Suen
Epic Solutions Inc.
Edmonton, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00411083
Message ID:
00411154
Vues:
14
>Hi All,
>
>How would I be able to determine if a OCX file, DLL file, or ActiveX control has been registered?
>

The registry version might be the politically correct way to do this, but you might find it easier to just try instantiating the control and trapping the error if it fails. This is also the most failsafe way... the correct registry keys might exist, but something else could have changed: the file could have been moved, a dependent file could have been moved or deleted, whatever.

IOW, the only surefire way to see if your control will create is to create it.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform