>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.