Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP5 Config.fpw Problems
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00037063
Message ID:
00037164
Vues:
44
>>>I can't get VFP to accept the -C prompt for any config file. It will read the CONFIG.FPW in the startup directory, but won't accept any other file name or path. I'd like to have different config files for development and run-time, but can't get it setup.
>>>
>>>Present syntax:
>>>
>>>c:\vfp50\vfp.exe -Cc:\mydir\config.xxx
>>>
>>>ONLY works for config.fpw!
>>>
>>>TIA
>>>Barbara
>>
>>
>>Did you include a CONFIG.FPW in the project? There is a bug that if you have an inculded CONFIG.FPW, you can't override it.
>>
>>Craig
>
>Basically, not bug but feature, very deceptive one.

Craig, I didn't include the CONFIG.FPW in the project (even went back and double checked). I even went to a brand new directory, where the only file was the PRG I used for my test EXE (see VFP5 EXE Problem thread) and wrote a new CONFIG file with a different extension. VFP simply said 'Cannot find Config file' and loaded its default values.

Edward, I'm beginning to think that whether a bug is a feature (and vice versa) is a matter of what your program is doing at any given moment!

Thanks,
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform