开发者

How can I test for an ActiveX control without using new ActiveXObject()?

开发者 https://www.devze.com 2022-12-29 07:20 出处:网络
Is there a way to test for the presence of an ActiveX control (with JavaScript) w开发者_开发技巧ithout actually attempting to create an object from it?The control I\'m attempting to detect is taking a

Is there a way to test for the presence of an ActiveX control (with JavaScript) w开发者_开发技巧ithout actually attempting to create an object from it? The control I'm attempting to detect is taking a long time to instantiate; I'm just looking for a more efficient approach, if there is one.

Thanks in advance!


The best way - some special event from AX control informing you that all initialize actions are done.

If you have control's sources - you can do it easily. Otherwise you deal with a black box and there is no reliable way to know that init is done.

0

精彩评论

暂无评论...
验证码 换一张
取 消