Click here to Skip to main content
15,850,299 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi experts,
i have a question please help me its really essential for me
how i can run EXE file on client in a website in asp.net.
i want it works in IE
i saw some ActiveX file that works on some IE.
Thanks in advance for an answer.
Posted

1 solution

Due to high security risk, you cannot do this without user action in the modern browsers. You could in IE6 with WScript.Shell, but not anymore. "User action" in this case is actually installing something on client side. So you can actually make it work with ActiveX, Java, etc, but it has to be something installed on client side before invoking it.
But this is really an interesting and clear solution: use protocol handler. See here: http://www.openwinforms.com/run_exe_from_javascript.html[^]
 
Share this answer
 
Comments
zinajoonjooni 19-May-12 1:30am    
thank you so much for your answer,i want use it on intranet network in our company,unfortunately this link doesn't work.
Zoltán Zörgő 19-May-12 1:47am    
The protocol handler registration is not allowed or what? Why is not working?
zinajoonjooni 19-May-12 2:08am    
no, when i click on this link, site is down(http://www.openwinforms.com/[^]) i cant see this article
Zoltán Zörgő 19-May-12 2:40am    
Site isn't down. Do you have a filtering proxy blicking it?
zinajoonjooni 19-May-12 2:49am    
yes i have proxy in our company or is it possible because i am from Iran i cant see this website?

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