Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is an OCX Registered On My Machine?
Message
De
29/04/1999 15:46:20
 
 
À
28/04/1999 22:01:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00213266
Message ID:
00213627
Vues:
36
Hi Chaim.

>I need to write a routine to determine if a given activeX control is registered on the workstation.

You can use the code in my SFActiveX.LoadActiveX method (published in FoxTalk July 1998). It determines if the specified ActiveX control has been registered by looking in the Registry for the control's class ID.

If you determine that it hasn't been registered but find that the OCX exists on the user's system, you could run REGSVR32 to register it. There's also a WinAPI call you can use to do the same thing but I don't have it handy (I can look it up if you need it).

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform