Re: creating services with UI

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello Jurjen,

The common (read: correct) method is to create the service with no UI. Then create a windows (UI) app that communicates with the service somehow (IPC, TCP, etc).

-Boo

Arvind,

As far as I know the whole point of a service is that it will always
run,
even when there is no desktop (like when no-one is logged on). I've
build a
few services myself and those services create a logfile in wich the
status
of progress can be retrieved.
I suppose you could create a monitoring winforms app, this app will
then be
communicating with the service. I'm not sure how to approach this but
maybe
someone else on this group can help you with that, I would be
interested in
this also.
HTH
Jurjen
Netherlands.
"Arvind Ganesan" <ag@xxxxxxxxxxxxxxxxxx> wrote in message
news:ewb5yJ%23jGHA.1272@xxxxxxxxxxxxxxxxxxxxxxx

Hi,

I would like to write a service in C# and I have the need to display
a UI
with status information, statistics, etc. If I use the Windows
Service
project in C#, I noticed that the System.Windows namespace is not
available
to me in the intellisense when I type "using System.".
What is the recommended procedure in C# / .NET for creating services
that display UI's and need to allow interaction with the desktop?

Thanks in advace,
Arvind.


.



Relevant Pages

  • Re: Where MacOS Comes up Short
    ... F10 Display windows in one app ... make you move your pointer way out of the range of activity you are ...
    (comp.sys.mac.advocacy)
  • Re: How to make a "Top Most" window with a win32 implmentation of "Top Most"?
    ... If it is DirectX application it probably switches to exclusive mode where it ... > I see what you're saying with the "Top Most" windows being peers. ... Perhaps its misleading to say the win32 app is "Top Most" ... if it employs another mechanism to display itself. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: VC++ program for real time data display
    ... My task is to display 6 critical parameters for monitoring 6 ... Windows is not a real time operating system - as a slightly modified ... quote from a very good C++ book says "Your app is the bitch, ...
    (microsoft.public.vc.mfc)
  • Re: Windows CE Splash and Shell
    ... Ive written a small app displaying a splash screen, ... Im running without any shell. ... Windows Embedded Manager ... Display a splash screen until my app i loaded and ready to take ...
    (microsoft.public.windowsce.embedded)
  • Re: Where MacOS Comes up Short
    ... F10 Display windows in one app ... make you move your pointer way out of the range of activity you are ...
    (comp.sys.mac.advocacy)