Click to See Complete Forum and Search --> : Stopping a NT Service.. Is it possible?


Robert Fernando
October 13th, 1999, 03:53 AM
Hi,

Does anyone know how to stop an NT Service through VB?

Thanks,

Rob.

Lothar Haensler
October 13th, 1999, 03:57 AM
you should be able to do that using the following apis:
openservice
ControlService, passing SERVICE_CONTROL_STOP as dwControl argument.

November 2nd, 1999, 09:02 AM
check out this link
http://support.microsoft.com/support/kb/articles/q189/6/33.asp