>I want to use the resource file to store window and browse positions, but I need a default position if they are not defined. How do I detect if the positions for a specific window or browse are stored so I can issue a browse last to get the fields and widths and positions.
You'll be looking for PREFW/WINDBROW entries; I'm not sure what 'name' you have to match in the name field for browse parameters (probably table name or alias; you'll have to experiment unless someone is certain.) You can't search the FoxUser file while it's in use, since VFP opens it for exclusive access unless the flag is flagged as read-only by the OS, in which case, you can't update it anyway.