Versions des environnements
Visual FoxPro:
FoxPro Windows
Hi Barbara,
It is just a short loader program with the config.fpw built into the compile. The problem disappears once the errant FOXUSER files are located and deleted.
The CONFIG.FPW sets resource off:
SCREEN = OFF
RESOURCE = OFF
TMPFILES=C:\TEMP
MVCOUNT=2048
The main app first sets the resource to a specific local file on the workstation, and then sets the resource back on.
The error appears prior to the main app being loaded.
Perhaps I'm missing something, but why would VFP, under the circumstances, search and sometimes find and use a resource file within an unrelated search path?
>>My CAD 0.02
>>
>>I have found that VFP seems, irrespective of the CONFIG.FPW setting to want to use any FOXUSER.DBF it may find in it's search path if it cannot find the specified one, or if RESOURCE is set OFF in the config file.
>>This has happened to me a lot where the servers had stray FOXUSER files left over from other legacy apps, and the user had search/read rights only (Novell Servers).
>>
>
>If RESOURCE is OFF in the config.fpw VFP will NOT use, find or create a foxuser file anywhere. Only if you SET RESOURCE ON somewhere in the program will this happen. If you are finding that VFP is using a resource file when you've set RESOURCE = OFF in config.fpw, then I suggest you find out where in your program it's being set back on.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement