469,610 Members | 1,855 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,610 developers. It's quick & easy.

Best way to launch an application (with UI) on a remote machine??


I have a c# windows form that talks to a web service on a server that then
can talk to multiple "agents" on different machines using web service calls.

I want to be able to launch an application of the users choice on the
remove, "agent" machine.

I've discovered that Process.Start() won't work because it runs under
asp.net and it will launch any "process" but if the application has a
windows UI it will not show.

any recommendations for the best way to launch applications on these agent
machines from my c#/windows forms app.
The agent can pass any needed info about the machine back to the client and
does already let the user browse around the machines directory/file
structure (it's how they choose the app to launch).

thanks

mike

PS remove the x from my domain if you'd like to reply to me directly. I am
still paying for the last time I posted to these newsgroups with over 100
spam a day about fake microsoft security updates. That #$%#^#$% sucks.
Nov 15 '05 #1
1 5728
cs
I am doing something similar and because of hte asp.net user this is what I
am doing.
I have a windows application (in my case is the system shell) but it can
also be a windows service (must click on allow service to interact with
desktop), anyways, my application has the capabilities of launching any
program and it has access to the GUI. So it publishes a object using
remoting, and the webpage uses remoting to talk to the application and tells
it to launch whatever it needs to launch, for my test I made my app launch
notepad and it worked fine.
"Michael Howes" <mh****@xblueiguana.com> wrote in message
news:O0**************@TK2MSFTNGP09.phx.gbl...

I have a c# windows form that talks to a web service on a server that then
can talk to multiple "agents" on different machines using web service calls.
I want to be able to launch an application of the users choice on the
remove, "agent" machine.

I've discovered that Process.Start() won't work because it runs under
asp.net and it will launch any "process" but if the application has a
windows UI it will not show.

any recommendations for the best way to launch applications on these agent
machines from my c#/windows forms app.
The agent can pass any needed info about the machine back to the client and does already let the user browse around the machines directory/file
structure (it's how they choose the app to launch).

thanks

mike

PS remove the x from my domain if you'd like to reply to me directly. I am
still paying for the last time I posted to these newsgroups with over 100
spam a day about fake microsoft security updates. That #$%#^#$% sucks.

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by =?Utf-8?B?RGFydGhTaWRpb3Vz?= | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.