Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy like Explorer ( using Explorer )
Message
 
À
19/10/1999 06:11:06
Cristian Tenea
Aquila Part Prod Com
Ploiesti, Roumanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00278035
Message ID:
00278087
Vues:
15
>Hi,
>
>I try to use API CopyFile to copy a file over a dial-up connection and worked fine ( copy file in VFP gets error on large files ) but it isn't display explorer like copy ( window with progresbar and avi ).
>
>Is there a function to do this in API or external comand of Explorer like "Send to" that can I use(call) in VFP.
>
>Thanks.

Hi Tenea,

The following is an excerpt from Thread#287581, between Igor Gelin and Bruce Campbell:

Igor provided the code below from VB:

cDestin = "c:\test\"
cSource = "c:\data\Examples.dbf"
winShell = CreateObject("Shell.Application")
winShell.NameSpace(cDestin).CopyHere cSource

Bruce translated to:

cDestin = "c:\test\"
cSource = "c:\data\Examples.dbf"
winShell = CreateObject("Shell.Application")
winShell.NameSpace(cDestin).CopyHere(cSource)

hth,
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