Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Included INI file
Message
De
23/09/2009 10:27:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01425729
Message ID:
01425742
Vues:
36
Thanks. This works.

>The COPY TO command doesn't see files inside EXE/APP
>
>lcSrcFile = "mail.ini"
>lcDstFile = "c:\tmp\mail.ini"
>STRTOFILE(FILETOSTR(lcSrcFile), lcDstFile))
>
>
>>
>>I have an INI file (mail.ini) INCLUDED in the project. Before analyzing it with my GetIniString() I copy it to the folder for temporary files.
>>
copy mail.ini to c:\tmp\mail.ini
>>However, I get an error 1 (file does not exist), unless the original developer's folder is present, which is the case on the developer machine only. It seems that the included file is not found. Who knows what I'm doing wrong or how to work around?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform