Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use SHFileOperation function in VFP6
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00639817
Message ID:
00710583
Vues:
23
>>UPDATE. Disregard. Firt of all, I was using incorrect path, secondly, I should just specify destination dir without file mask...
>>
>>Hi Cetin,
>>
>>I'm trying this command ?CopyFiles("c:\redp\dataentry\Data\Upload\c*.zip","c:\redp\dataentry\Data\Archive\c*.zip") (where CopyFiles is a wrapper to ShFileOperation - from Ed's FAQ) and it's failing with Cannot copy file - File system error (1026). So, are you advocating against this function? Should I check other alternatives?
>>
>>I have Windows 98. Seems to be failing to my colleague as well.
>>
>Nadya,
>
>It should work provided you're not using Unicode on the computer. The function is supported under versions of Shell32.dll 4.0 and greater.

Once I removed mask from destination directory and corrected paths, it worked.

Thanks.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform