>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