Wes Wilson wrote on 2016-12-30:
I have a machine with VFP on it that does not remember my environment. When I start VFP up, I am always told "The resource file is not valid" Whether I overwrite it with an empty on or not, this message always comes back up. Now, by environment, here are 2 examples:
- I am working on a PRG. When I go back into the PRG, I am always at the top instead of at the exact line I left off at.2. When I Beautify a PRG, I always have to check Comments, Procedure, Do Case - they always go back to being unchecked.
Wes,
Do you run VFP as an administrator? If not, The Resource file you are overwriting may be virtualized, and the corrupt resource file is under the Program Files.
I launch each project via a shortcut using a custom config.fpw file that sets a different resource file for each project.
One of my targets is: "C:\Program Files\Microsoft Visual FoxPro 9\vfp9.exe" -T -C"C:\work\Testing\Resource\config.fpw"
The Start in: is pointing to the folder where the project file is.
The config.fpw file sets the resource file with the following line: Resource=.\Resource\FoxUser.dbf
It's a little bit of setup that saves plenty of time in the future. The Command Window history becomes separate for each shortcut. I count that as a plus.
HTH, Tracy
Tracy Pearson PowerChurch Software