How do I determine which program is using a file in VB 2005?
System Internals has a tool called Handle that you can use. It tells you which program has what file and/or directory open. It is a console application. You can pipe its output to a text file and then simply open that text file and search for the file you're looking for. Then you can see which process has it open.
c:\handle > output.txt