is a file blocked?

  • Thread starter Thread starter Alejandra Parra
  • Start date Start date
A

Alejandra Parra

Is there any way to know if a file is blocked, because it's being used by
another process?
 
I do it, and even I have a try-catch segment, my program stops with an
error, so I want to check if the file is being used before it causes the
problem
 
Post your code, Alejandra. We may be able to find the problem or make
suggestions on how to fix it.

This particular error is trappable.

--- Nick
 

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