Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stop a service and get status

Status
Not open for further replies.

ASPVBNerd

Programmer
Nov 23, 2005
83
SE
How do I stop a windows service? and I also would like to get the status of the service. If its 100 % stopped.
Because I dont want to proceed if the serice is not 100% done.
I could do it like this but this is not a good option for me.
Code:
Ret = Shell("net stop RegSrvc", vbNormalFocus)

George
 
We covered much of what is wanted here only yesterday in thread222-1197973
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top