W William DePalo [MVP VC++] Oct 25, 2005 #2 Craig HB said: How can I restart a windows service using the .net framework ? Click to expand... There is an example of that here: http://msdn.microsoft.com/library/d...ceProcessServiceControllerClassStartTopic.asp Regards, Will
Craig HB said: How can I restart a windows service using the .net framework ? Click to expand... There is an example of that here: http://msdn.microsoft.com/library/d...ceProcessServiceControllerClassStartTopic.asp Regards, Will
G Guest Oct 25, 2005 #3 Thanks. I have tried that but got this error: Cannot open MyService service on computer '.'
G Guest Oct 26, 2005 #4 Try ServiceController.GetServices and see if your "MyService" appears in the list. Regards, Jakob.