Is there a way to bring an application's GUI to the current desktop?

Posted by Davy8 on Stack Overflow See other posts from Stack Overflow or by Davy8
Published on 2010-04-21T20:46:02Z Indexed on 2010/04/24 9:33 UTC
Read the original article Hit count: 231

Filed under:
|
|

Background: Started a fair amount of work before realizing that a Windows Service cannot start an app with a GUI that displays without potential problems. The proper solution of separating the GUI of the app to be started is non-trivial, so I'm trying to think of alternative solutions.

There is a GUI to manage the service that is a separate executable, but the process to be launched (actually multiple instances of it) has its own GUI that needs to be shown. It doesn't need to be made visible by the service itself, but it needs to be at least able to be made visible by another process with a visible GUI. The Windows User that is running the service and that needs to see the GUI of the launched process is the same and known at install time.

Is there some way to accomplish this or is it back to the drawing board?

Also both the service and the app to launch are both our code and modifiable.

© Stack Overflow or respective owner

Related posts about windows-services

Related posts about c#