Information générale
Catégorie:
Contrôles ActiveX en VFP
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement