Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying included file
Message
De
01/08/2002 11:39:07
 
 
À
01/08/2002 11:15:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00685008
Message ID:
00685025
Vues:
13
>Hi all
>
>I remember including a file into my project an then. Once the project is compiled into an .exe file the file could be copied through code into any chosen destination.
>
>I did this to preserve a template for an Excel spreadsheet in order to fill data into it and apply some borders, etc.
>
>However, I’m receiving an error telling my that the file to be copied does not exists. This error message is showing me the complete path even when compiled with the included file at the projects root folder.
>
>Is this because of the new version 7.0 SP1?
>
>Could somebody give me a hint?
>
>Thanks in advance
>
>Oscar Corte

Oscar,

do you use copy (src) to (dest) ?

Found recently it does not like that if src is included

replace by

=StrtoFile(FileTostr(src), dest)
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform