How to call .exe file in the asp.net page
-
Hello Evrybdy, Actually i have developed one vb.net project. i have an exe as well as all file for that project. i want to call that exe from my asp.net page's button click event. i am trying to use system.dianostics.process.startinfo and start. it is not giving me any error. only it doesnt do anything. its only on my desktop. so its IIS server and client. if anybody have any idea , how to do this..pls let me know. Thanks, Hemaxi
-
Hello Evrybdy, Actually i have developed one vb.net project. i have an exe as well as all file for that project. i want to call that exe from my asp.net page's button click event. i am trying to use system.dianostics.process.startinfo and start. it is not giving me any error. only it doesnt do anything. its only on my desktop. so its IIS server and client. if anybody have any idea , how to do this..pls let me know. Thanks, Hemaxi
The thing is you cannot run an exe from an aspx page. You can give the link to it and the browswer would prompt for the 'save as' dialog. It would be too much of a vulnerability to allow exe's to eb run from web. What you can do is create an active-x object (which can be run in a browser) if it fits your needs. Just Google for active x using c#. regards, Mircea Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
-
The thing is you cannot run an exe from an aspx page. You can give the link to it and the browswer would prompt for the 'save as' dialog. It would be too much of a vulnerability to allow exe's to eb run from web. What you can do is create an active-x object (which can be run in a browser) if it fits your needs. Just Google for active x using c#. regards, Mircea Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
-
actually i am using process.start for just a notepad .exe from aspx file. it opens in the memory,that you can see in taskmanager processes. but you can not see it. yeah and i will try for activex obj. thanks for reply..
-
actually i am using process.start for just a notepad .exe from aspx file. it opens in the memory,that you can see in taskmanager processes. but you can not see it. yeah and i will try for activex obj. thanks for reply..
When you do what you stated all it does is run the program on the SERVER. You can not start an EXE on the server and expect it to run on the client.
Found on Bash.org [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.