Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copyfile in API
Message
From
15/06/2010 06:50:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Copyfile in API
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01468940
Message ID:
01468940
Views:
120
If anyone could help:
why wont this code work. I got 0 all the time.
DECLARE INTEGER CopyFile IN kernel32.dll;
    STRING  lpExistingFileName,;
    STRING  lpNewFileName,;
    INTEGER bFailIfExists

? CopyFile("D:\file.txt", "D:\temp\file.txt",0)
Next
Reply
Map
View

Click here to load this message in the networking platform