How to know a service is stop or running?

sally3599

Member
Licensed User
Longtime User
Code: Copy
Sub Button1_Click
  StartService(TestService)
End Sub

Sub Button2_Click
  StopService(TestService)
End Sub

When it come back to the app, How to know the TestService is stop or running?
Any help will be appreciate it.
 
Code: Copy
IsPaused(TestService)
Is there also a chance to determine if a ServiceStartAt is already done?

With ServiceStartAt the service might not be running *now* (so it is "paused"), but it *will* run at the time I provided in ServiceStartAt...

I would like to get the information if the service already became a ServiceStartAt order.

Best regards,

Carsten
 
Upvote 0
Back
Top