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
 
Back
Top