Access Windows Service from Windows Application

Accessing windows service from windows application is very easy task. Follow the steps

1. Open Visual Studio 2005/2008.

2. Add ServiceController Control into the form you just created.

3. Enter the Windows service name into the ServiceName Property of the ServiceController Control.

That’s all you need, other properties and methods are all self explanatory.

For more information about ServiceController click here

, ,

  1. No comments yet.
(will not be published)
Submit Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Subscribe to comments feed
  1. No trackbacks yet.

SetPageWidth