Thanks for that. What I'm talking about, though, is a distributed application. The FoxUser file it's trying to read on closedown is not one of mine. I can't be sure whether other applications may create FoxUser.* somewhere. If the directory containing this happens to be in the computer's path statement then it seems that my application will try and read it - and complain if it can't.
If I SET RESOURCE OFF in my app, will that be enough to prevent it trying to read FoxUser.* when it closes, even it finds one laying around somewhere