Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy like Explorer ( using Explorer )
Message
 
To
19/10/1999 06:11:06
Cristian Tenea
Aquila Part Prod Com
Ploiesti, Romania
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00278035
Message ID:
00278087
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform