I am making a background monitoring program that will write something to a .dat file if someone tries to open the file, like for example MyProgram - notepad then my second (monitor) program will write something to a file, and next time someone runs my program a message will appear, so how do I get my monitor program to scan the Title bars of all open programs for the words "MyProgram", and if it says something else beside "MyProgram" it iwll write something to a file. So how do I scane the title bars?