Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying included file
Message
De
01/08/2002 12:03:45
 
 
À
01/08/2002 11:15:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00685008
Message ID:
00685045
Vues:
11
Hi Oscar
>
>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.
>

Try this on your code
#IF VERSION(2)=2
    #INCLUDE f:\prosystem\include\contabil.h
    #INCLUDE f:\prosystem\include\strings.h
#ELSE
    #INCLUDE contabil.h
    #INCLUDE strings.h
#ENDIF
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform