我尝试从WinJS打开一个.exe应用程序,但是发生了错误,这是我的代码:
var comando = "C:\\Program%20Files%20(x86)\\Windows%20Media%20Player\\wmplayer.exe";
var oShell = new ActiveXObject("Shell.Application");
//var commandtoRun = "C:\\Windows\\notepad.exe";
oShell.ShellExecute(comando, "", "", "open", "1");
但是我遇到了一个错误...
JavaScript 运行时错误 0x800A01AD:自动化服务器无法创建对象
非常感谢您提供的任何帮助。