Windows services UI

  • Thread starter Thread starter Gav
  • Start date Start date
G

Gav

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
 
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.
 
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.
 
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
 
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.
 
Back
Top