We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


is it possible to read the status of any given service

jimbona27 asked
Medium Priority
Last Modified: 2010-05-18
hi everyone,

is it possible in vb.net to read the status of any particularly service?

like msgbox("Service is currently " & getServiceStatus(name))


Many thanks
Watch Question

Head of Software Services
Hi jimbona27,


Shows how, download the source and it shows how to enumerate, start, stop and view the status of services.

Tim Cottee

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


thanks for this although do I need to down anything for using

Imports System.ServiceProcess

as this "cannot be found"?


think thats okay actually, just added the reference.  i thought "imports whatever" was the same as adding a reference.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.