Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying included file
Message
From
01/08/2002 12:03:45
 
 
To
01/08/2002 11:15:21
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00685008
Message ID:
00685045
Views:
10
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
Previous
Reply
Map
View

Click here to load this message in the networking platform