I have a vb6 application that checks to make sure a file is not open. We support many types of files, but for some reason TXT files don't work with the logic we have. So I was hoping to search the task manager for the file name. If its open, I want to kick an error message and do an exit sub. Any help is appreciated.