ActiveXobject is not defined, need alternative

325 Views Asked by At

I need help and suggestions from you. We have used ActiveXobject for IE support application now we have migrated to Edge now it is not supporting. sample code as below.

<script>
function callexe(){
var objShell = new ActiveXObject("WScript.shell");
var cmd='C:\\ABCDE\\viewer.exe';
objShell.run(cmd);
}
</script>
<a href="#execute" onclick="callexe()">Run</a>

can any one help me to over come this?

0

There are 0 best solutions below