javascript - ShellExecute 权限被拒绝 SCRIPT70、IE11 Windows 10

标签 javascript internet-explorer-11 activex shellexecute

我正在使用 activeX shell 应用程序在本地运行文件。 IE11版本11.316.17763.0 window 10

我在尝试执行 shellexecute 部分时遇到错误。 script70 权限被拒绝。

我已启用必要的设置来运行 activeX 以及高级 -> 安全 -> 允许事件内容在我的计算机上运行文件

即使如此,错误仍然发生。

请帮助如何清除此错误并使 shellexecute 成功运行。

最佳答案

我可以看到您已经启用了选项允许事件内容在我的计算机上运行文件

我建议您还尝试启用选项初始化并编写未标记为安全脚本的 ActiveX 控件

为当前区域启用未签名的 ActiveX 控件

Tools > Internet Options > Security > Custom level... Enable "ActiveX Controls and plug-ins" > "Initialize and script ActiveX controls not marked as safe for scripting"

enter image description here

引用:

permission denied with shell.application

关于javascript - ShellExecute 权限被拒绝 SCRIPT70、IE11 Windows 10,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55133770/

相关文章:

three.js - PolygonOffset 在 IE11 中不起作用?

javascript - 在 Node.js 的 Restify 模块中,在哪里正确放置 return next() ?

ajax - 为什么IE11在ajax请求的请求头中发送 'pragma: no-cache'?

javascript - 我们是否应该考虑禁用 javascript 的用户的可访问性?

asp.net - Internet Explorer 10/11 和旧的 .net framework 1.1 网站的兼容性问题

javascript - 我可以使用 JavaScript 选择打印机吗?

c++ - 如何从不在主类中的 ActiveX 控件 (.ocx) 导出函数?

c++ - 如何在给定 ActiveX 控件的 HWND 的情况下获得 COM 接口(interface)?

javascript - AJAX 响应文本不匹配

javascript - 想要在单击 html 时显示特定的 div