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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top