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

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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.
 
Back
Top