Ben,
Try the below code and let me know.
To Start the Service.. ( The Service that runs the SQL Server 2008), use the below VB Code,
'Start Service
strServiceName = "MSSQLSERVER"
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Set colListOfServices = objWMIService.ExecQuery ("Select * from Win32_Service Where Name like '" & strServiceName & "'")
For Each objService in colListOfServices
objService.StartService()
Next
To Stop the Service..( The Service that runs the SQL Server 2008), use the below VB Code..
'Stop Service
strServiceName = "MSSQLSERVER"
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Set colListOfServices = objWMIService.ExecQuery ("Select * from Win32_Service Where Name like '" & strServiceName & "'")
For Each objService in colListOfServices
objService.StopService()
Next
Thanks & Regards,
Rajasekhar.R