That is great, but this www.blitzbasic.com/codearcs/codearcs.php?code=755 is a little more than I need. Is there a way to just have something kill the program using the PID if the name is correct, for example if it finds notepad.exe to kill it. Thanks