Run Service ActiveX Control provides the following methods to control the service:
Method | Brief Description |
AcceptControls | Set events that have to be processed by service |
CreateService | Creates a service object and adds it to the specified service control manager database |
ChangeServiceConfig | Changes the configuration parameters of a service |
DeleteService | Marks the specified service for deletion from the service control manager database |
StartService | Starts a service |
StopService | Stops a service |
PauseService | Pauses a service |
Service | Connects the main thread of a service process to the service control manager, which causes the thread to become service control dispatcher thread for the calling process. |
NewThreadService | Connects the new thread of a service process to the service control manager, which causes the thread to become service control dispatcher thread for the calling process. Unlike Service method, this method does not block the current thread. |
See also
Run Service Events Overview, Run Service Properties Overview