How to Suppress "Microsoft FoxPro" in Title Bar of .EXE

Last reviewed: April 30, 1996
Article ID: Q117641
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0
  • Microsoft FoxPro for Windows, versions 2.5a, 2.5b, 2.6
  • Microsoft FoxPro for Macintosh, versions 2.5b, 2.5c

NOTE: This does not apply to FoxPro 2.5 for Windows.

In a distributed application, you may want to completely suppress the title that appears in the title bar of the FoxPro desktop window. You can do this programmatically by using the MODIFY WINDOW SCREEN command and including the keyword TITLE followed by a character string expression for the title. However, the MODIFY WINDOW SCREEN command changes the main desktop title only after the executable program has complete control. As a result, the Microsoft FoxPro title is briefly displayed in the title bar before it is replaced by the new title specified with the MODIFY WINDOW command.

To work around this behavior, you must change the title of the desktop window before program control begins. The only way to do this is to use the TITLE = command in the CONFIG.FPW or CONFIG.FPM configuration file. For example:

   TITLE = This is my title

NOTE: Do not enclose the application title in quotation marks. If quotation marks are used, they are considered part of the title and will be displayed in the title bar along with the text of the title.

Adding the TITLE = command to a configuration file used by a distributed executable program will suppress the Microsoft FoxPro title completely and retain the specified title until it is changed under program control. Adding this line to a configuration file used by FoxPro will suppress the Microsoft FoxPro title in FoxPro for Windows and FoxPro for Macintosh.

NOTE: This command will not have quite the same effect in the FoxPro development environment. Although it will change the title of the desktop, the Microsoft FoxPro title bar will be briefly displayed at first.


Additional reference words: VFoxWin 3.00 FoxMac FoxWin 2.50a 2.50b 2.50c
2.60 flash
KBCategory: kbenv kbprg
KBSubcategory: FxenvConfigfp


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.

Last reviewed: April 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.