Know the process that use a file

  • Thread starter Thread starter paraidy
  • Start date Start date
P

paraidy

Hi Guys, i would to know if a file is used by a process, and what is
the process that use the file, how can i do this in VB.net?
thanks :)
 
i think the only way to do it is to try and access the file inside a Try
Catch block and if an error is thrown the file is being used....
 
i think the only way to do it is to try and access the file inside a Try
Catch block and if an error is thrown the file is being used....


And then you still not know wich process is using the file :-)

Michel
 
Back
Top