Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

resource file is invalid replace with empty new one

Status
Not open for further replies.

RGoldthorpe

Technical User
Aug 10, 2001
83
GB
Can anybody tell me why this has suddenly started appearing everytime I boot up foxprodoesn't matter if I say yes or no it still comes up.

Have even uninstalled and reinstalled FOxpro and the service pack but STILL asks me.

Oh running win98 and FOxpro 7.0 SP1

Any ideas why?

Luv

Rachel
 
Rachel,
Your Fox install thinks that your &quot;FOXUSER.DBF&quot; is located in a directory that doesn't exist. So, when you say &quot;YES&quot;, create a new one, it probably creats one in the default Fox directroy, but when you start Fox up again, it still thinks you want one in some old directory. (I've seen this a lot...) What you need to do is go to Tools, Options, File Locations Tab, and check to see where your &quot;Resource&quot; Directory is set to. You can change it to a &quot;Real&quot; location afterword. You should also check any CONFIG.FPW files you might have as well. If your &quot;Default&quot; location (set with SET DEFAULT TO <blah>) is set to some other location, and there is a CONFIG.FPW file there, Fox will try to read it. It may also refernce an invalid &quot;Resource&quot; location. Look for a line in the CONFIG.FPW that says something like:

RESOURCE = C:\FOXDEV\MyDirThatNoLongerExists
Odds are, one of those two things will fix your woes.

Cheers
Thanks,
-Scott

s-) Please let me know if this has helped s-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top