Do certain things depending on whether or not a certain process is running.
Posted on 2003-12-02
Basically, what I've got is a program that does something or something else depending on whether or not MSN Messenger is running.
The image name of MSN Messenger is msnmsgr.exe
What I'd like is some source code that does something like
if (msnmsgr.exe is in the tasklist) then
ShowMessage('MSN Messenger is running');
ShowMessage('MSN Messenger is not running');
or something where the outcome is the same.
Thanks for all the help, guys!