CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2004
    Posts
    8

    Can windows service have a UI?

    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

  2. #2
    Join Date
    Feb 2002
    Location
    Atlanta, Georgia, USA
    Posts
    155

    Re: Can windows service have a UI?

    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.

  3. #3
    Join Date
    Nov 2004
    Location
    North Idaho
    Posts
    18

    Re: Can windows service have a UI?

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured