Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I...
Message
From
19/06/2009 09:22:42
 
 
To
19/06/2009 09:04:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01407046
Message ID:
01407153
Views:
60
>>>>If you include the config. it must be named config.fpw, as far as I know. The exe will always look for embedded files first, so it doesn't matter if there is another config.fpw, the exe will always use the embedded one.
>>>
>>>I name my config.fpw files to match the app and it works fine.
>>
>>Are the configs embedded, or do you add the -cConfigfilename switch?
>
>-cConfigfilename switch
>
>I made the mistake once in embedding it and later needed to customize it on the fly and couldn't because it was embedded so I never did that again. :o)

With the command line switch, you can use any name for the config file. Persoanlly I have four different config files in used during developement, since I run normally VFP in up to four different "sessions". In the configs I have different settings for odometer, which I read dusing startup and change _vfp.caption accordingly.
Previous
Reply
Map
View

Click here to load this message in the networking platform