Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File name in upper case
Message
 
 
To
10/04/2009 15:48:45
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01394220
Message ID:
01394249
Views:
41
Just put DECLARE statement somewhere in your main program or application object. The CopyFile() function will be available after that as long as you do not CLEAR DLLS or CLEAR ALL.

>
>How can I
>
>DECLARE Long CopyFile IN WIN32API ;
> String SourceFileName, String DestFileName, Long bFailIfExists
>
>in some main prg
>and use in forms only
>
>IF CopyFile(lcFileName, lcCopyFileName, 0) = 0
> ? "Copy unsuccessful"
>ENDIF
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform