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 / Windows Forms / WinForm General / April 2006

Tip: Looking for answers? Try searching our database.

Windows services UI

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gav - 21 Apr 2006 01:41 GMT
Hi all,

Can anybody point to examples on the internet of adding a user interface to
a windows service? I can find plenty on controlling the services, IE
starting stopping them etc. I want to be able to write a windows service
that can interact with the desktop and user when they are logged in via
terminal services as well as locally.

The reason I'm after this is I want to create a windows service that
executes a function depending on a schedule I want the users to easily be
able to change that schedule.

Thanks
Gav
John Timney ( MVP ) - 21 Apr 2006 10:16 GMT
Why dont you just create an application to change the scheduling data, both
the service and the application can read the same data - perhaps held in the
local registry, or a simple xml file.

Signature

Regards

John Timney
Microsoft MVP

> Hi all,
>
[quoted text clipped - 10 lines]
> Thanks
> Gav
John A. Bailo - 21 Apr 2006 17:42 GMT
Well, those two don't have to be the same thing right.

You could write:

1) Windows service that executes the scheduled functions from a
database, or XML file.

2) A Windows form application that puts data into the database or XML
file, to be read by the Windows service.

> Hi all,
>
[quoted text clipped - 10 lines]
> Thanks
> Gav
Gav - 22 Apr 2006 01:51 GMT
Thanks for the advise guys...

It certainly seems the way to go, I just thought what I was initially
looking at may have been simple. Either way will still do the same job,
thanks again.

Regards
Gav

> Well, those two don't have to be the same thing right.
>
[quoted text clipped - 20 lines]
>> Thanks
>> Gav
hB - 22 Apr 2006 14:38 GMT
Wanna be hitech?
Host Asp.Net and create asp pages. Then user can interact through IE /
http-web as well as web application, you can then even host web svc
within win svc.

Else just create a simplest tcp-socket-adapter and implement minimal
http and let users interact with it, in this way u hav full control.

User can connect from anywhere to interact / Monitor* your
windows_service activities.

---
hB

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.