i'm trying to run an exe file on the client side using the following code:
var oShell = new ActiveXObject("Shell.Application"); var prog = "C:\\Program Files\\Microsoft Office\\Office12\\Excel.exe"; oShell.ShellExecute(prog,"","","open","1");
when i run the code it fails with "Access denied" error which i cannot resolve.
i modified my ie (8) settings to allow unsigned activex controls and the initialization of controls not markes as safe.
still i get the error.
i run the aplication on windows 7.