Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you include you config.fpw in you program files.
Message
 
To
04/05/1998 15:10:46
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00096797
Message ID:
00096850
Views:
25
>>>>>I have made an EXE in vfp and I want to include the config.fpw with
>>>>>my program files. I want the users to be able to change one of the options in the config.fpw using their editor. The option I want the users to change is TITLE.
>>>>
>>>>
>>>>Just place the CONFIG.FPW in your distribution directory and it will be included in the setup.
>>>---
>>>Hi Craig
>>>I put the CONFIG.FPW with the setup files. When I run setup.exe the CONFIG.FPW
>>>is installed. When I change the CONFIG.FPW and run myprogram.exe, the changes
>>>are not there. I am changing TITLE = something.. Do you know why my change is
>>>not being shown?
>>Make sure you don't have a copy of the .FPW in your project when you build your exe or the 'standalone .FPW' will never get looked at by the exe
>---
>I have removed the CONFIG.FPW that was in the project and I still do not
>get any changes when I edit the CONFIG.FPW.

Keep the CONFIG.FPW in your project but mark it as excluded or include the -C parameter in the shortcut of the EXE to ensure the correct config file, if any, is being looked at. i.e. myapp.EXE -C \myappdir\config.fpw
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform