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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement