Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Config file not working
Message
De
16/08/2009 23:39:14
 
 
À
15/08/2009 13:41:38
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01418189
Message ID:
01418400
Vues:
64
>>>>>Hello,
>>>>>
>>>>>I'm trying to use a config file to change the default value of the system variable _ASCIICOLS in a shipping .exe file.
>>>>>I created a file with this in it:
>>>>>_ASCIICOLS = 200
>>>>>
>>>>>I invoke the app like this:
>>>>> myapp.exe -cmyconfigfile.txt
>
>>Complete SWAG - and I doubt it would help, but try to change the extension of the config file to fpw.
>
>In general case you'd be right, but the command line has the proper switch to override that - and then the filename and extension can be anything.


I'm missing something more fundamental -

I've renamed the config file to config.fpw, and put a _STARTUP = "myfile.prg" statement in it.
I've tried COMMAND = DO "myfile.prg" instead.
I've tried including the the config file in my project as well as invoking it via a -c command line option when I start my app.
The result still looks as if none of the statements I've tried in it are being executed.
With filemon, I see my config file being accessed, but don't see myfile.prg being accessed.

?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform