Is it REALLY an activex control?

隐身守侯 提交于 2019-12-06 04:10:38

Your code isn't the problem. When you create the "WScript.Shell" object, IE asks that control if it is safe for scripting. The object returns "No". That's why your code doesn't work. As long as you use "WScript.Shell" you will have the problem.

One way around this is to create your own ActiveX control that is marked as "safe for scripting", but then you would have to get all of your users to install it.

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