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:
>  1. 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


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to