Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieve GUID for a registered control
Message
From
28/06/1999 14:25:25
 
 
To
28/06/1999 10:54:59
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00234772
Message ID:
00234888
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform