Building a GUI for a service

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'd like to put a GUI on my (C#) service (running under Vista). Anyone have
any pointers as to the best way to do this? I'm using VS2008, if it matters.
 
Hi Debbie,

You'll need to write a separate app with a GUI that communicates with your
service. Services with GUIs are a bad idea on *any* platform, and are
prohibited under Vista. Research some IPC technologies to get the service
and GUI app talking to each other (I hear WCF can be really good for this in
..NET 3.x).

-Alex
 
Windows Service?

I am lock stepped with Alex on that one. If you write is as a GUI, you are
no better off than writing a console application.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
 
Hi Debbie,

I'm curious if you made any progress on this and what route you are taking.
I am in the same boat. In the past, if I wanted to add a GUI to a windows
service, I would set the "Allow services to interact with desktop" flag, but
I understand this is not only bad practice, but ineffective under Vista.

I am steering toward named pipes. Any thoughts?

Roger
 
Back
Top