ID: Q120096
The information in this article applies to:
When you are running an .EXE file built with the FoxPro for Windows Distribution Kit, the .EXE file does not read the FOXPRO.INI file.
An .EXE file built with the FoxPro Distribution Kit acts like FoxPro does in several ways. For example, the .EXE file looks for a CONFIG.FPW file in its own directory. If it isn't found, the .EXE file searches the MS-DOS search path set in the AUTOEXEC.BAT file just like FoxPro does. In addition, if the .EXE file does not find a FOXUSER.DBF file, it creates a new one. However, although FoxPro reads the FOXPRO.INI file located in the Windows directory, the .EXE file does not.
This behavior becomes a problem if you try to modify the HEIGHT and WIDTH lines in the FOXPRO.INI file to make the .EXE file appear smaller on screen than the full desktop. The .EXE file will always come up full screen by default and will ignore the FOXPRO.INI file.
There are two ways to work around this problem:
NOTE: There is no way to make the .EXE file appear other than full screen at startup. The MODIFY WINDOW SCREEN command will resize the .EXE file only after it has come up full screen.
-or-
Last Reviewed: August 28, 1995