Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resource files
Message
From
17/07/2006 17:54:11
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01136594
Message ID:
01137073
Views:
24
><snip>
>
>AFAIK, VFP creates foxuser.dbf only on startup, not on SET RESOURCE ON or SET RESOURCE TO.
>
>>The installation does not use a config file. None of my applications do. When run on the user's PC the program crashes with an error on the last line to the effect that it cannot open ...\foxuser.dbf. It is properly pointing to the installation folder. Thus I cannot issue
>>? SET("RESOURCE",1)
because the program will not start. I tested your first suggestion by creating a config.fpw text file with
RESOURCE=ON
in the installation folder but I still got the error stating the foxuser.dbf could not be found. Based on past experience, I thought that if fox couldn't find it , it would create it automatically. But I guess I'm wrong. I can solve the problem by manually placing a copy of foxuser.dbf in the startup directory but that doesn't explain the behavior.
>>
>>In the development environment there is no problem because there is a copy of foxuser.dbf that it finds and opens.

That would be consistent with my past experience.

I'm beginning to feel a bit like a pest here so forgive me if I ask one more question. I don't want to stretch your good will.

What would cause VFP to not create foxuser.dbf at startup (assuming it can't be found)?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform