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