well, there are UDFs to determine if a specific process is running.

look for FindProc() and EnumProcess()
_________________________
How to ask questions the smart way <-----------> Before you ask