Managing Windows Services with Visual Studio 2005
(Page 1 of 5 )
You may have a large number of services running on your computer with your machine using the Windows operating system. These can be managed from the user interface of your computer. These can also be managed using the Net 2.0 framework class
ServiceController. This tutorial shows you how you may manage programmatically the Windows services by means of an example after describing the process of working with the Services window in the control panel. In this process several other properties and methods of this important class are also explored.
Accessing Windows Services using the Control Panel
Windows services running on your machine may be accessed from Control Panel-> Administrative Tools-->Services. This brings up the services window in your computer as shown. The next picture shows the services that are installed on this machine (Windows XP Professional, Media Center Edition). As you can see, they are all in different states (some stopped, some running, and so on).

The highlighted service has the service name OracleServiceXE. This service starts up automatically when the Window program starts up. It can be paused and restarted; if it has stopped, it can be started from the panel by clicking the links shown in the above window.
Next: Properties of the Service >>
More ASP.NET Articles
More By Jayaram Krishnaswamy