hey.can someone help me?
i tried executing calc.exe and notepad.exe from browser using
javascript but it doens't work.
like this:
<script language="javascript" type="text/javascript">
function runApp()
{
var shell = new ActiveXObject("WScript.shell");
shell.run("notepad.exe", 1, True);
}
</script>
or using this:
System.Diagnostics.Process.Start("C:\WINDOWS\system32\calc.exe");
none of the above code works.
no erros were displayed just nothing happens.
it shows "error on page" at the taskbar of the browser when executing the script.
is there any configuration i have to make?
i tried enabling running active x components in internet tools.but still it doesn't work.
any other configuration?or sample codes??
can someone help me??
thanks in advance.