problem with shell.application
Posted on 2006-05-08
var objShell = new ActiveXObject("Shell.Application"); <--- problem
objShell.ShellExecute("c:\\myprog.exe", "", "", "open", 1);
It works on 1 pc but on another one i got an error saying:
"Automation Server can't create object".
I checked my security options and it's set to allow to run activex components.
And : I only get this error message on shell.application object..
I think something is missing on that pc. I tried to reinstall the Windows Scripting Engine but with no effect.
Anyone knows what could be the problem??
Thanx in advance