How to run an .exe from asp.net page
-
I am new to this .net world. I like to know how we can run .exe files with asp.net page plz help me......... :)
-
I am new to this .net world. I like to know how we can run .exe files with asp.net page plz help me......... :)
-
I am new to this .net world. I like to know how we can run .exe files with asp.net page plz help me......... :)
Anjani Poornima wrote:
I am new to this .net world. I like to know how we can run .exe files with asp.net page
Asp.Net does not build for that. if you use process start exe it will start in Server not in client side. If you want to really do that, use ActivX and It will work only in IE.
cheers, Abhijit CodeProject MVP
-
Anjani Poornima wrote:
I am new to this .net world. I like to know how we can run .exe files with asp.net page
Asp.Net does not build for that. if you use process start exe it will start in Server not in client side. If you want to really do that, use ActivX and It will work only in IE.
cheers, Abhijit CodeProject MVP
Thank you..... I tried using system.diagoistics.process.start(".exe"); But it just works in the development side not the webserver. that means. when I click run in the VS.net, it can open a .exe . when i publish it to our web server. I just can see the .exe running under the task manager in the server side, but I can not see any .exe any input will be greatly appreciated.
-
Thank you..... I tried using system.diagoistics.process.start(".exe"); But it just works in the development side not the webserver. that means. when I click run in the VS.net, it can open a .exe . when i publish it to our web server. I just can see the .exe running under the task manager in the server side, but I can not see any .exe any input will be greatly appreciated.
Anjani Poornima wrote:
I tried using system.diagoistics.process.start(".exe"); But it just works in the development side not the webserver. that means. when I click run in the VS.net, it can open a .exe . when i publish it to our web server. I just can see the .exe running under the task manager in the server side, but I can not see any .exe any input will be greatly appreciated.
As, I have already told you, Process.Start will execute process in Server not in Client. So This will not do the job for you. First of all think why you need to execute the exe in Asp.net? Any alternative option to solve this. If you need it then Go for
ActiveX control
and I have already suggested you it will work only in IE.cheers, Abhijit CodeProject MVP
-
Anjani Poornima wrote:
I tried using system.diagoistics.process.start(".exe"); But it just works in the development side not the webserver. that means. when I click run in the VS.net, it can open a .exe . when i publish it to our web server. I just can see the .exe running under the task manager in the server side, but I can not see any .exe any input will be greatly appreciated.
As, I have already told you, Process.Start will execute process in Server not in Client. So This will not do the job for you. First of all think why you need to execute the exe in Asp.net? Any alternative option to solve this. If you need it then Go for
ActiveX control
and I have already suggested you it will work only in IE.cheers, Abhijit CodeProject MVP
--
-
--