>My VFP Resource File is set to c:\program files\vfp\foxuser.dbf. When I execute a certain exe (from VFP), the app "resource=off" in the config.fpw. The app then later resets the resource to a user specific file.
>
>After exiting the app, and returning to VFP, my resource file is no longer enabled (file locations box not checked), and it is pointing to the foxuser in my app's folder (not the vfp folder).
>
>How can I capture my current resource file in the config, and then reset it at cleanup?
>
>Thanks - Brenda
Brenda,
Instead of resetting the resource file during cleanup, I work from inside the Tools form. If you click the Resource File box but leave the actual path/filename blank VFP5 will look for a resource file in your home directory. If you override this in your config.fpw it will revert after the app closes.
HTH
Barbara