作者:天秤羊子_140 | 来源:互联网 | 2023-10-16 08:07
IhaveawebapplicationthatusesanActiveXCOMcomponent,forexample:我有一个使用ActiveXCOM组件的Web应用程
I have a web application that uses an ActiveX COM component, for example:
我有一个使用ActiveX COM组件的Web应用程序,例如:
I've produced the ActiveX control myself, and I want to be able to determine in Javascript the version of the control that is installed and being used on the page.
我自己制作了ActiveX控件,我希望能够在Javascript中确定在页面上安装和使用的控件的版本。
I thought I could expose a method on the object than exposed the version number somehow, for example:
我以为我可以在对象上公开一个方法而不是以某种方式暴露版本号,例如:
But that seemed really messy. I wondered if there was a built in COM / ActiveX mechanism for finding version numbers - whats the best way of doing this?
但这似乎非常混乱。我想知道是否有内置的COM / ActiveX机制来查找版本号 - 最好的方法是什么?
1 个解决方案