Run Service ActiveX Control Events Overview

Run Service ActiveX Control provides the following events to control the service:

EventsBrief Description
OnServicePauseNotifies a service that it should pause
OnUserEventNotifies a service when user event is triggered. User events available: SERVICE_CONTROL_INTERROGATE,
SERVICE_CONTROL_NETBINDADD,
SERVICE_CONTROL_NETBINDREMOVE,
SERVICE_CONTROL_NETBINDDISABLE,
SERVICE_CONTROL_DEVICEEVENT,
SERVICE_CONTROL_HARDWAREPROFILECHANGE,
SERVICE_CONTROL_POWEREVENT,
SERVICE_CONTROL_SESSIONCHANGE, etc
OnParamChangeNotifies a service that service-specific startup parameters have changed. The service should reread its startup parameters. (Only 2000/XP)
OnServiceStopNotifies a service that it should stop
OnServiceStartNotifies a service that it should start