By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,152 Members | 1,647 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,152 IT Pros & Developers. It's quick & easy.

remotely start the application

P: n/a
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

Apr 4 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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

"Vinki" <Vi***@discussions.microsoft.comwrote in message
news:E8**********************************@microsof t.com...
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

Apr 4 '07 #2

P: n/a
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

"L.W.C. Nirosh" wrote:
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

"Vinki" <Vi***@discussions.microsoft.comwrote in message
news:E8**********************************@microsof t.com...
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


Apr 4 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.