>>>I change something in my config.fpw and when i do an FOPEN and FPUTS in my app to read the config.fpw, I get the prechange version of config.fpw. What is up with that?
>>>
>>>Brenda
>
>>VFP buffers everything. You need to exit and restart VFP to have it see the changes.
>
>I thought it might be something like that so I did completely close VFP twice and even ran myapp.exe from out side VFP (with messageboxes to show the contents) and still the old config.fpw. BTW - I did the updates to config.fpw in notepad.
>
>Saw a CLEAR PROGRAM in the help files and thought that might do the trick. Still not sure if CLEAR PROGRAM did help because the config.fpw was inconsistent.
>
Did you by chance include the config.fpw in you app? If you did, you will always get the version that was compiled in when reading from your app rather than what is on disk.
Cy Welch
Senior Programmer/Analyst
MetSYS Inc