Hi all... I need some help in the project that I am going to make...
I did it once a while back.. but I lost my source code and the binary....

What I want to do is make a program that runs another program and set its starting directory then hide it. Then check if the program is finished loading and running then proceed to running the next program if there is any.

I also want to bring up/show up the specific program that I hide.

And also, I want my program to constantly check if the program is running, so if ever the program is closed by other means other than my program, it will restart it or rerun it and hide it again.

And of course, I want my program to close those i have run or just restart it.



I hope you can help me about it.

I know I have to use API 's to achieve this but I am not sure as to what and how.