How Start a GUI Process with the Main Window Shown when Started from the C# service

G

Guest

I am trying to display a GUI Process from a C# Service Application, I can see the Process in the Task manager but i canno
see the Process GUI window displayed. But if i start the same GUI process from the Normal Application the Window is visible. I use the c# Process class to do this

Any suggestions?

Your help is highly appreciated
 
A

Arild Bakken

Make sure your service is configured to run as "local system accont" and has
the "Allow interact with desktop" checked. If you need to run as a specific
account, I guess you have to use the Windows API to open a connection to the
console winstation, but I've never done this so I can't give you any
pointers on this.


Arild

Vineeth Karinta said:
I am trying to display a GUI Process from a C# Service Application, I can
see the Process in the Task manager but i cannot
see the Process GUI window displayed. But if i start the same GUI process
from the Normal Application the Window is visible. I use the c# Process
class to do this.
 

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