I need to know CLSID of COM object which I just ran via CreateObject("xxx.xxx")
how can I get it?
TIA! Rafal
I need to know CLSID of COM object which I just ran via CreateObject("xxx.xxx")
how can I get it?
TIA! Rafal
I don't think you can get that information directly from VB itself (e.g., as a side-effect or secondary result of calling CreateObject
), but you can read the registry entry at HKEY_LOCAL_MACHINE\SOFTWARE\Classes\xxx.xxx
and then look at its CLSID
key.