本文介绍了什么是COM对象的CLSID我刚刚在Visual Basic中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要知道我刚刚通过 CreateObject(xxx.xxx)运行的COM对象的CLSID如何获得它?

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

TIA!
Rafal

TIA!Rafal

推荐答案

我不认为你可以直接从VB本身获取信息 - 调用 CreateObject )的效果或二级结果,但您可以阅读在 HKEY_LOCAL_MACHINE\SOFTWARE\Classes\xxx.xxx ,然后查看其。

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.

这篇关于什么是COM对象的CLSID我刚刚在Visual Basic中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 04:04