Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / June 2006

Tip: Looking for answers? Try searching our database.

creating services with UI

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Arvind Ganesan - 14 Jun 2006 19:43 GMT
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.
Jurjen de Groot - 14 Jun 2006 19:55 GMT
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.

> Hi,
>
[quoted text clipped - 9 lines]
> Thanks in advace,
> Arvind.
GhostInAK - 14 Jun 2006 20:25 GMT
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,
>
[quoted text clipped - 30 lines]
>> Thanks in advace,
>> Arvind.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.