|
| GUI in Windows Service |
|
|
|
|
| Messages |
|
Related Types |
This message was discovered on microsoft.public.dotnet.myservices.
| Damir |
Hallo everybody!
Does anyone know how to make GUI for the windows service. I need it to monitor some processes in the service, and I need the service because the application should run even if the user isn't signed on.
Thanks in advance
|
|
|
| |
|
| |
| |
| Lee Gillie |
Damir -
A service continues to run whether the user is logged in or not. Thus a logon Winstation is transitory. A Winstation is used per the logon prompt, the local logon prompt, and for each terminal session. A level of interaction normally hidden from application programs. It is possible to try to respond to the comings and goings of Winstations in your service, but this is a difficult path. Typically one will make a cooperating GUI program for the service, perhaps something that installed to run at logon (startup menu) which is coupled to your service via some kind of interprocess communication or RPC (see .NET remoting). This program comes and goes and perhaps receives monitoring events from the service, and sends control signals to the service. If you survey the services you already have running (from MS or 3rd parties) that provide a GUI you will see this approach is used almost exclusively.
HTH - Best regards, Lee Gillie
"Damir" <Click here to reveal e-mail address> wrote in message news:%23EJ$Click here to reveal e-mail address... [Original message clipped]
|
|
|
| |
|
| |
|
|
|
|
|
|
|
|
BootFX
Reliable and powerful .NET application framework. |
|
|
|
|
|
|