ACC1x: No Form Caption in Run-Time Application

Last reviewed: April 2, 1997
Article ID: Q109937
The information in this article applies to:
  • Microsoft Access Distribution Kit version 1.1

SUMMARY

If you build an application to be distributed, make sure to include the TitleBar statement in the [Run-Time Options] section of your application's .INI file. If you do not, the title bar in your application will not display a caption. Additionally, no caption will be displayed when a table, query, form, or report is maximized.

MORE INFORMATION

The following example demonstrates how to correctly modify the [Run-Time Options] section of your application's .INI file:

  1. Use a text editor such as Notepad to modify the [Run-Time Options] section of your application's .INI file to match the following:

          [Run-Time Options]
          TitleBar=This Is My Application
    

  2. Run your application. Note that the application title bar displays the caption:

          This Is My Application
    

  3. Maximize an object such as a table, query, form, or report. Note that the application title bar displays the caption:

          This Is My Application - [xxxxxx]
    

  4. Close your application.

  5. Modify the [Run-Time Options] section of your application's .INI file to match the following:

          [Run-Time Options]
          ;TitleBar=This Is My Application
    

    The semicolon comments out the line so it is ignored.

  6. Run your application again. Note that the application's title bar is empty.

REFERENCES

Microsoft Access "Distribution Kit Guide," version 1.1, "Custom Initialization (.INI) File," pages 5-7


Additional query words: adk runtime title caption
Keywords : FmsOthr kbusage
Version : 1.1
Platform : WINDOWS
Hardware : X86
Issue type : kbinfo


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 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.