Starting and Stopping Services

D

David Elliott

I have a project that I am working on that is generally avaiable in a distributed server
environment. My customer has requested that a scaled down version be built that can
be installed on a laptop. Since the application won't be run all the time, I would like to
give the user a nice way to stop and start the services due to the amount of memory
that is consumed.

I will have multiple services to stop and start at a time. I was thinking that a new .NET
application that I could configure through an XML file would be the way to go.

Is there a .NET or Win32 API or some other way to do this?

Thanks,
Dave
 
T

Thomas

There is a ServiceController component on the Components tab of the toolbox,
that'll do just that for you.
Writing a .NET app to control services is a breeze.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top