what is CLSID of COM object I just ran in Visual Basic

好久不见. 提交于 2019-12-24 00:57:39

问题


I need to know CLSID of COM object which I just ran via CreateObject("xxx.xxx") how can I get it?

TIA! Rafal


回答1:


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.



来源:https://stackoverflow.com/questions/13825388/what-is-clsid-of-com-object-i-just-ran-in-visual-basic

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!