473,509 Members | 2,963 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

remotely start the application

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
2 3869
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2110
by: faktujaa | last post by:
Hi, I have created an application that uses IIS to host remote components. All the remote components are listed in app.config in client and web.config in server. Now the app.config can contain...
1
1198
by: sean | last post by:
Hi There, I have an asp .net application that I am trying to debug remotely, unfortunatley I do not have access to the server itself. I have verified the application is working on my local...
2
1687
by: Raterus | last post by:
Hi, I'm after this setup, and I'm just wondering if this is even feasible. I'd like to store my asp.net project remotely, on a network drive (all the project files, everything), But I want to be...
2
1352
by: Evan Camilleri | last post by:
how can I create a web application remotely? i have access to a server and would like to create a web-application in a folder - if it is my IIS then i right click, properties and press create...
2
1331
by: OpticTygre | last post by:
Imagine this scenario: I have 3 servers: A, B, and C. These servers are in remote locations across the country not easily accessible. On each of these servers, I have a windows service...
1
879
by: Sathish | last post by:
I need to run an application such as exe file ( which is in another system ) working from my system in a LAN network. This should start running automatically when the operating system starts and...
4
9571
by: graphicsxp | last post by:
Hi, I've written a windows service in vb.net, which works very well. The service is installed on my server, but now I would like to be able to start/stop it from any machine on the network. I...
1
1182
by: graphicsxp | last post by:
Hi, I have written a windows service in .net. I install it on my server and now I can start it and stop it remotely from any machine on my network using a .net application that i wrote too. ...
6
1555
by: Jonathan Wood | last post by:
The ASP.NET Configuration tool is great for quickly managing users in the database on my development machine. However, I don't see a way to use it to access the database on my Web server. Is...
0
7234
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7136
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7069
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5652
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3216
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1570
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
441
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.