开发者

How to invoke client ActiveX via javascript

开发者 https://www.devze.com 2022-12-24 06:02 出处:网络
I want to let server to invoke client ActiveX via javascript. The script work well as it run on my local system. Then I place it into Apache Server and it\'s malfunction.

I want to let server to invoke client ActiveX via javascript. The script work well as it run on my local system. Then I place it into Apache Server and it's malfunction.

Script:

<object id="lv_obj"  classid = "CLSID:30A92485-94D2-4CBA-AC32-EF276B7F777B" CODEBASE="" ></OBJECT>

try {
   document.all.lv_obj.Init("PCS_Tes");
} catch (err) {
   window.alert("错误信息: " + err.message);
}

I guess the reason is script on server can't invoke user client ActiveX. If I need config something 开发者_StackOverflowon Apache?


This is probably an IE security setting.

0

精彩评论

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

关注公众号