DOCUMENT:Q137972 11-DEC-1999 [foxpro] TITLE :How to Find Which Files Are Referenced as Visual FoxPro Starts PRODUCT :Microsoft FoxPro PROD/VER:WINDOWS:3.0 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual FoxPro for Windows, version 3.0 ------------------------------------------------------------------------------- SUMMARY ======= To troubleshoot configuration problems effectively, you need to know which files Visual FoxPro looks at when it starts up and what information those files contain. That information is given in this article and in the Visual FoxPro Help file. MORE INFORMATION ================ Foxpro.ini ---------- The Foxpro.ini file is located in the Windows directory and contains the information for the main FoxPro window. It is saved each time you exit Visual FoxPro, so when it restarts it looks the way it did when you closed it. Config.fpw ---------- The Config.fpw file contains optional settings you can make to your environment. It is located in the Visual FoxPro working directory, unless otherwise specified with a startup command switch. Many of these are duplicates of the Registry settings. For more details, please see the Help file topic on this file. Reg.dat ------- The registry information is found in Reg.dat. This is where the product saves the Options dialog box settings. The Options settings are mostly a subset of the possible Config.fpw settings. The Config.fpw overrides any Options settings saved to the Registry, which would indicate that the Config.fpw is opened after the registry. This is an assumption. See the Help file for information on the Options dialog. Foxuser ------- The Foxuser file is the generic Resource file. It is Foxuser.dbf by default, although you can set it to any .dbf file. FoxPro creates it if it doesn't exist. You can set it ON or OFF. It is mostly a table of preferences, such as Browse window size, location, and attributes. See the Help file for more information on the Foxuser.dbf file. Additional query words: VFoxWin ====================================================================== Keywords : Technology : kbVFPsearch kbAudDeveloper kbVFP300 Version : WINDOWS:3.0 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1999.