Click here to Skip to main content
15,922,894 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to open EXE from web...

i found some solution for IE AND MOZila..


but I need browser compatible Script for open EXE from WEB
Posted
Comments
nishukoul 26-Apr-11 6:02am    
The below link might be of some help

http://stackoverflow.com/questions/4941309/how-can-i-open-an-exe-file-from-an-asp-net-site

Either your question is unclear or Im unable to understand it properly.
If you want to open an exe and you are running windows, just download it and run it on your local machine,
 
Share this answer
 
Comments
amitthakkar1987 26-Apr-11 5:49am    
suppose in my system notepad.exe is there..now i want to open notepad.exe in asp.net using javascript...getting my question
open notepad.exe using Javascript

XML
<script>
var oShell = new ActiveXObject("Shell.Application");
var commandtoRun = "C:\\Windows\\notepad.exe";
oShell.ShellExecute(commandtoRun,"","","open","1");
</script>
 
Share this answer
 
Comments
amitthakkar1987 26-Apr-11 6:11am    
this work only in IE i need script which ran on any browser............
ambarishtv 26-Apr-11 6:19am    
Have you use this code..
protected void Button1_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("notepad.exe");
}
amitthakkar1987 17-May-11 9:20am    
this will work on server side ...i want to open .exe on client machine...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900