Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieve GUID for a registered control
Message
De
28/06/1999 14:25:25
 
 
À
28/06/1999 10:54:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00234772
Message ID:
00234888
Vues:
19
>How can I retrieve the GUID from the registry for an activex control, assuming the control is registered and I have the control name?


If you have the ProgID, the registry key HKEY_CLASSES_ROOT\ProgID\CLSID contains the CLSID for the ProgID.

If you only have a VersionIndependentProgID for the control, there may not be a CLSID subkey, but there will be a CurVer subkey, containing the ProgID of the currently active version of the control.

You can also extract the ProgID and CLSID from the .TLB information using something like Visual Studio OLEVIEW.EXE or the VB Object Viewer.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform