Click to See Complete Forum and Search --> : Can windows service have a UI?


FlyingBear
December 3rd, 2004, 09:32 PM
I'm trying to program a windows service. The problem I have is: users may need change some options of the service. If windows service does not have a UI, how users can do that?

thanks

soumya_bhatta
December 4th, 2004, 10:17 PM
Windows service can not have a UI. One should be able to start and stop the service from UI. However, if the need is that simlple, just to start and stop, which should essentially be what we should do with a service, the "services" console manager of windows, with which we start and stop IIS or other services, should be enough to start and stop it.

4461766964
December 7th, 2004, 08:26 PM
If I'm not mistaken, an alternative to a UI would be a settings file for the service. You could modify the settings file manually to change options, or you could even create a support app, complete with UI, that modifies the settings file for the users. If your support app could stop and restart the service on "Apply" you'd be set.

DS