Who is holding the file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi al
I want to delete a file from my.But before that i want to find out whether some other process is holding the file.How can i found this .Is there any method in VB.net to find it.
 
The thought of trying to figure who has a handle on a file in your butt is
not pretty...

Try Process Explorer or Handle from Sysinternals. It's not trivial to do in
your own code, you need to understand the internal workings of Win32 API to
do it yourself.

Jerry

sivaraj said:
Hi all
I want to delete a file from my.But before that i want to find out
whether some other process is holding the file.How can i found this .Is
there any method in VB.net to find it.
 
Back
Top