Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is the program running? - HOW-TO

Status
Not open for further replies.

IlyaRabyy

Programmer
Nov 9, 2010
571
US
Colleagues,
Imagine you have a Console type program that's supposed to start automatically by Windows Scheduler, and run permanently;
Now, imagine that the machine (WS or a Server box - regardless) is turned off (let's say for weekend, or due to reboot);
Even though Scheduler is supposed to start this program, you may want to check if that Console program is running.
And the question is:

How to programmatically (in another program) check if some certain Program is running?

TIA!

Regards,

Ilya
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top