D
Dino Buljubasic
My application creates some temporary files that are deleted when my
application terminates.
However, if a temp file is open, it will not be deleted and
application will crash.
How can I check if a file is open before deleting it
Something like this
If File(fileName).IsOpen then
File(fileName).Close
end if
File(fileName).Delete
Thank you
_dino_
application terminates.
However, if a temp file is open, it will not be deleted and
application will crash.
How can I check if a file is open before deleting it
Something like this
If File(fileName).IsOpen then
File(fileName).Close
end if
File(fileName).Delete
Thank you
_dino_