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

    Managing Windows Services from code

    Hello ,

    I need to check if a Windows Service is running and if so then Stop it

    How can I do that from Code in C#.

    Thanks

    Susan

  2. #2
    Join Date
    Apr 2005
    Posts
    172

    Re: Managing Windows Services from code

    Never Mind - found a great article on it.
    For those of you who may stumble upon the same issue visit the following link:


    http://www.codeproject.com/KB/cs/winservicemanage.aspx


    Susan

  3. #3
    Join Date
    May 2007
    Location
    Denmark
    Posts
    623

    Re: Managing Windows Services from code

    Or, RTFM
    It's not a bug, it's a feature!

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