ComponentSpace Professional .NET and ActiveX components for developers
ComponentSpace Home | Products | Downloads | Support | Purchase | Services | About Us
 

Start, stop, pause, continue and interrogate Windows services

ActiveX
Product Links
 Purchase
single developer - $199 
4 developer team - $299 
8 developer team - $399 
site license - $499 
site + source - $999 
 
 Download
 Documentation
 Code Samples
 Screen Shots
 Testimonials
 Ask a Question

Access the Windows Service Control Manager from within your Visual Basic application to enumerate, start, stop, pause, continue and interrogate Windows services. Get extended service status including the check point and wait hint. Enumerate all dependent services. The Service Manager Control also makes it easy to create, configure and delete services. You can also manage services running on remote computers. The Service Manager Control offers Visual Basic developers complete control over Windows services in a simple to use control.

Features

  • Part of the ComponentSpace ActiveX Suite

  • Start, stop, pause, continue and interrogate Windows services

  • Enumerate all services and dependent services

  • Get extended service status

  • Create, configure and delete services

  • Manage local and remote services

  • Coded in C++ for speed and size

  • No runtime library dependencies

  • Comprehensive Windows style documentation

  • Visual Basic example source code

  • Includes 12 months free email support and minor release upgrades

  • Royalty free runtime

  • Source code and source code escrow available


Controlling Windows Services

Instantiate an instance of the ServiceManager class, set the ComputerName property if you wish to manage services on a remote computer, and you’re ready to manage services. This class includes Start, Stop, Pause, Continue and Control methods for performing the standard actions on Windows services. You can also get a service’s status using the Status and ExtendedStatus properties. Look up a service’s display name given its name using the DisplayName property. Conversely, use the ServiceName property to determine the service’s name given its display name. Using the ServiceManager class, you can also create, delete, configure and enumerate services.


Accessing a Service's Configuration

With the ServiceConfiguration class you can retrieve and update a service’s configuration. The configuration includes the service name, display name, service type, and the name of the service executable, the load order, dependencies, account name, password and more.

The ExtendedServiceStatus returns a service’s extended status including the controls it accepts, exit codes and more.


Writing a Windows Service in Visual Basic

If you want to write a service in Visual Basic, refer to the ActiveX Service Host.