remotely start the application

G

Guest

Hello Everyone,

I have an exe application that I want to start remotely.Once I start the
application,
I want to press ok to that application. To start the application, I did
Process.start("C://test/app.exe"). I am writing this code in a C# web
application, famework 1.1
How can I press ok to that started application.

Any help will be apprecaited

Thanks
 
L

L.W.C. Nirosh

I am not sure whether I have understood your quiestion corerctly, but I just
wanted to highlight couple of things when you say that you are going to
start a exe via a web application.

Any exe that start via a web application will inherit asp.net user
permission by default, therefore it will act with limited permissions, be
careful with it.

Second any .net exe is directly executable via IIS provided that the client
have the .net framework installed. you can do it by copying the exe to
wwwroot and access it via UNC. In your case at which machine you are
expected your exe to run, when you execute it via a web application. Is it
on the web server or the client machine???

Depending on the answer to the above qiestion I will give the next answer..

Nirosh
 
G

Guest

Hello Nirosh,

My exe file will be on client machine and I using .net remoting to start
the process for the exe file so I am doing for example

process.start("C:/test.exe")

My front end will be a web page running on some other machine so the web
page will be on one machine and will be calling a method remotely on client
machine that will start the process.
I tried doing the process.start and it does show the process started on my
task list. If I start the process manually then it shows a little window with
a ok button on it, but in case of process.start, it does not show a window or
an ok button. I want to press that ok button once the application is started.
Please let me know if you need additional information.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top