Topaz Filer: if you use e-mail for business, we can save you money and decrease your risk.
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

Reply to this message...
Vote that this is a GOOD answer...
 
Auto-following on Twitter
Ubuntu and XP on one “desktop”
 
    
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]

Reply to this message...
Vote that this is a GOOD answer...
 
Outlook interop - stopping user properties appearing on Outlook message print
Seriously, why is “cut and paste” majorly newsworthy???
 
 




Ad
BootFX
Reliable and powerful .NET application framework.
Recession Busting Bespoke Software
Get through the recession by investing in bespoke software to decrease costs and create commercial opportunities.
Other DN247 Network Sites
.NET 247
SQL Server Wins
Old Skool Developer
 
Copyright © AMX Software Ltd 2008-2009. Portions copyright © Matthew Baxter-Reynolds 2001-2009. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - .NET 247 is a member of the DN247 Network - 4.0.30129.1734