Discussion:
Task Pane Manager?
(too old to reply)
Linn Kubler
16 years ago
Permalink
Hi,

For some reason I can't figure out, my Task Pane Manager doesn't retain my
recent projects list any more. It worked up until about two weeks ago. I'm
guessing there is a file or two that controls this and that they may be
corrupted but I don't know what they are.

Not sure if this is related but while poking around I discovered the
following error message when I try to access the Filer option in the Task
Pane Manager.

An error occurred with Filer:
Error number: 41
Method: openresfile
Line number: 7
Memo file c:\...\user\application data\microsoft\visual foxpro 9\foxuser.fpt
is missing or is invalid.

I suspect this is pointing to a location in my user profile but I don't see
a microsoft directory under application data.

Any suggestions? This VFP 9 sp2.

Thanks in advance,
Linn
Dan Freeman
16 years ago
Permalink
Have you tried the task pane manager "Clean up files" and "Restore defaults"
on the TP options dialog?

Dan
...
Linn Kubler
16 years ago
Permalink
Yes but with no luck. I also should have mentioned that other user
intereface settings are lost as well. Things like which tool bars are open
when I start VFP and the state of the project manager. The project manager
usually opens where I left off but now it always goes back to the All tab
with everything closed.

Thanks for the help,
Linn
...
Dan Freeman
16 years ago
Permalink
What Rush said, but if that doesn't work it may mean a couple of things:

* You may be starting VFP from a shortcut that's different from what you're
expecting
* The shortcut you use to start VFP may have the wrong startup directory
* Your VFP startup may have a config.fpw that uses RESOURCE="<path>" to set
resource in a way you're not expecting

There are a ton of subtle ways to screw up the resource file settings.

Dan
...
Linn Kubler
16 years ago
Permalink
Rush's suggestion seems to have worked. I'll know more after a couple days
of working with it again. I didn't change anything on my system that I'm
aware of so it must have just been a corrupt resource file.

Thanks to you and Rush for the help!
Linn
...
Rush Strong
16 years ago
Permalink
Delete your resource file:

- Use ? SYS(2005) to identify the current resource file;
- Enter SET RESOURCE OFF to close the resource file;
- Delete the SYS(2005) identified DBF file;
- Delete the same named FPT file.

Either restart Fox or perhaps just enter SET RESOURCE ON or SET
RESOURCE TO to create a new, empty resource file.

- Rush
...
Linn Kubler
16 years ago
Permalink
Yeah, I think this did the trick, at least for a simple test it remembered
my open project.

Thanks Rush
...
Rush Strong
16 years ago
Permalink
Post by Linn Kubler
Yeah, I think this did the trick, at least for a simple test it remembered
my open project.
Thanks Rush
You;re welcome. FWIW, deleting the resource file is often the first
thing to try when your settings seem to be going adrift.

- Rush

Continue reading on narkive:
Loading...