Link to home
Create AccountLog in
Avatar of cbstechnologies
cbstechnologiesFlag for United States of America

asked on

Return Boolean when external Service.exe Application is completed

I am trying to write a windows service that will continuously run.
At 5 min check isRunning (Boolean variable) to see if external service.exe is running

If isRunning = True then wait till next 5min to check isRunning
If isRunning = False then execute service.exe and set isRunning = True

After service.exe has completed its job, I want it to return a Boolean to the windows service isRunning = False

I am using vb.net 2005, I do not know if an .exe or a .dll would be better for service.exe.

Thank you for all your help
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account