Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy file using windows copy
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00647036
Message ID:
00647037
Vues:
22
>How can I from within VFP6 utilize the Windows copy that gives the flying paper graphic and show which files are being copied. I have a situation where there about 3000 bit map graphics to copy. Currently I use run xcopy but that gives the black screen with the files scrolling.

It's the API call is SHFileOperation. There's an entry in the API section that I believe will show you how to do this.

An alternative method is to use the Shell.Application object. The only problem with it, may be availability. If the target platforms are Win98 and greater, then it's there. Under Win95, however, the computer must have had IE 4.01 with the Active Desktop option installed at some point.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform