S sally3599 Member Licensed User Longtime User Aug 6, 2012 #1 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 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.
thedesolatesoul Expert Licensed User Longtime User Aug 6, 2012 #2 Code: Copy IsPaused(TestService) Upvote 0
C cmweb Active Member Licensed User Longtime User Aug 6, 2012 #3 thedesolatesoul said: Code: Copy IsPaused(TestService) Click to expand... 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
thedesolatesoul said: Code: Copy IsPaused(TestService) Click to expand... 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
thedesolatesoul Expert Licensed User Longtime User Aug 6, 2012 #4 I dont think so. You will have to store that information yourself when you schedule the service, maybe in a file. Upvote 0
I dont think so. You will have to store that information yourself when you schedule the service, maybe in a file.
C cmweb Active Member Licensed User Longtime User Aug 6, 2012 #5 thedesolatesoul said: I dont think so. You will have to store that information yourself when you schedule the service, maybe in a file. Click to expand... Yes, that's the way I do it already... Best regards, Carsten Upvote 0
thedesolatesoul said: I dont think so. You will have to store that information yourself when you schedule the service, maybe in a file. Click to expand... Yes, that's the way I do it already... Best regards, Carsten