Link to home
Start Free TrialLog in
Avatar of eddie_kng
eddie_kng

asked on

Error reading file : Foxuser.fpt

Hi,

I have a mulit-user inventory system running on Windows server 2003.  For most of the users, they have no problem launching the system except one user.  This user encountered error message "Error reading file : foxuser.fpt" when launching the system.  It happened  quite frequently on this user.  .  His PC is running on Win XP Pro.

Please advise how to overcome the problem.  The inventory system is developed under VFP 8.0.

Tks


           
Avatar of CarlWarner
CarlWarner
Flag of United States of America image

Need clarification.  So, here are questions.

What do you do AFTER you see that message?  Just go on?

Is that Fox resource file on the server or on the local PC?  Is it required?  Do you really need the Fox resource files for your inventory system?
Avatar of Cyril Joudieh
You can safely delete all foxuser.* from his computer. You may wish to back them up just in case. FoxPro recreates all foxuser files. They contain settings to system variables in FoxPro but a good developer never saves his settings there.
Avatar of eddie_kng
eddie_kng

ASKER

Hi, the resource file is resided in the server.  I do not need the resource file.   So far I do nothing on the resource file ever since it is created by Foxpro.

tks
It is best if you don't have to use the Fox resource file arrangement, because the foxuser.dbf does occasionally get corrupt.  And, if you do choose to use it, it should never ever reside on the server but in the local workstation's directory/folder instead.
In your application, if you simply issue a
SET RESOURCE OFF
at the start of the program in your main.prg, that oughta handle it.

You can also put RESOURCE=OFF in your config.fpw.
Hi,  
After I Set Resource to Off, all the reports in the preview mode become either minimised or half screen.  Before the turn it off, all reports display with full screen.   Please advise.

Thanks

ASKER CERTIFIED SOLUTION
Avatar of CarlWarner
CarlWarner
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial