Possible Duplicate:
Launch application from a browser
I am working on a website for my work that will do multiple functions such as storing login information and launching multiple applications by clicking one button. I am using php to make the pages. The user information is being stored in a mysql database. However I am having a problem getting the applications to launch. I have gotten a few sudjestions like using Registering an Application to a URL Protocol. Problem is I haven't done much programming using C++ or VB for a very long time (highschool). The other idea that seems to possibly work is using WSH Run Method in javascript. Close but I am still having issue launching a program as simple as notepad.exe or cmd.exe for firefox or IE. This is the code I found after browsing around the web for half the night. If anybody has any ideas on how I would be able to use a script like this or anyother that might work, your help would be very much appreciated. Here is a sample code.
<script language="javascript" type="text/javascript">
function runApp(){
var shell = new ActiveXObject("WScript.shell");
shell.run("notepad.exe", 1, True);
}
</script>
<input type="button" name="button1" value="Run Notepad" onClick="runApp()" />
Thanks again