-
I am writing a program and I need to have a secondary invisible program running that checks that the first program continues running and when it doesn't, then I need to figure out how to make the invisible program keep tabs on the first program so it can respawn it in the same state as it ended in, I also need to allow the first program to be able to exit when it needs to without the second respawing it, I have 4 questions
1) How do I check to see if the first program is still running (and is there any way to do it without using a timer, if not I still need to know)?
2) How do I check to see wether certain command buttons are enabled or not in the first program using the second?
3) How do I let the second program know that when the first program ends correctly (a command button on the form) that it should respawn the first program?
4) I have heard something about needing to know classes and child windows, but I have no clue what they are talking about, do I need this information about my first program, and if so, how do I get it?
Thank you very much!
-
-
Could you be a little more specific on what I need to do?
-
With activex you can create a .exe program, set a ref. to it in your main program and have the activex.exe moniter your program. It is a little to complicated to give you a good ex. but if you do some reading on ActiveX it won't take you long to understand how this can work. It will take some effort on your part. Good Luck
-
Is there anything specific in ActiveX that I should focus on?
-
If you are in no big hurry to get this project done, you should learn all that you can. It will serve you well in any programming you do. I thought "Devloping COM/ActiveX Components in VB6" by Dan Appleman was a good book.
-
I really appriciate the help from _bman_, but I kinda need to get this done soon, could someone tell me in a more specific way what I need to do to accomplish my task?