Faisal Ansari

Faisal Ansari

  • NA
  • 451
  • 820.6k

How To Start and Stop Windows Services using c#

Jun 20 2011 4:32 AM
hello Mahesh how r u ?

i was trying your code which is about window services that how to start and stop by using c#, but there is a problem or exception is occure that " MyServiceName can not open on computer: " 

actually first i created window service and installed that  then i was start that service through your code but that exception is occure by all time..

Kindly send me the solution of that please..

Reply Soon

thanks..

Answers (5)