Well, I was half wrong.
The function is working but, some type of file (right know I've only test with text file and MSWord files) seems to no be locked when you open them.
I have done my test with a Word file.
So I open the file (from Word) and then try to check if I was able to open the file from VB. I've receive an error message telling me "Permission Denied". Fine.
But, If I do the same thing with a .txt text file, I don't receive any error message.
So anyway, I decide to implement this procedure (cause I'm not copying text files anyway). And if any error happen, I just roll back by deleting the copied
files.
Thanks J.
Patrice Merineau
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only