I have a Windows service in a Visual Studio .NET project (C#) that I want to start from elsewhere in the project . When I try and use the following code
ServiceController service = new ServiceController("servicename");
ServiceController service = new ServiceController("servicename");
service.Start();
I get an exception
answer this question.
DavidPosted Jan 21, 2012, 6:52 PM