Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File name in upper case
Message
 
 
À
10/04/2009 15:48:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Divers
Thread ID:
01394220
Message ID:
01394249
Vues:
48
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform