Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to copy an included file out from the EXE
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01408878
Message ID:
01408886
Vues:
152
This message has been marked as the solution to the initial question of the thread.
>Hi all
>
>I was under the impression that a file can simple be copied out from the EXE onto the hardisk but that is not the case for me
>
>Is this possible?
>
>
COPY FILE ("EMBEDDED" + lcOrigReportName) TO (lcSeleReport)
>
>does not work for me, though I can confirm FILE("EMBEDDED" + lcOrigReportName) returns .T. I have also tried to provide a full path but then the EXE complains that it cannot file the file.
>
>Please advise.


(1) with fopen/fcreate + fread/frwite
(2) StrToFile(FileTostr("EMBEDDED" + lcOrigReportName)), lcSeleReport)
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform