I have an interesting problem with one of my apps.
Within my app I oftern look to see if a specific service is running.
( I should state at this point that the service is set to start automatically on boot.But for some reason doesn't always do so or can sometimes be shut down)
I need some code/functions to allow me to restart the service if it has stopped.
I'm under the impression that you cant manually start a service if its defined as automatic and so I may need to change the service status temporaily in order to restart. But I'm not sure and thats the reason I'm putting it to you guys.
I have a lot more points that what is being offered and I will be 'upping' them if the code works..
Thanks Madmarlin.. ;?)