wOWOWO..Excellentttt...thax a lottttt...
But im confused a little
if procs.Length == 0 , then we should start up Test.exe ..
Normally if the file is not running, meaning procs.Length will return 0 right?
And im confused about another thing..
Whenever i put this code and create new project as a "Windows Service",
No matter the executable is running or not, it always says that its running. Although it is not running..Pretty weird..
If its windows application, when i debug, it works well..
But when i create a service, it does not..
Any idea?