ACC: Changing Application Title Using Visual Basic (95/97)Last reviewed: August 28, 1997Article ID: Q141618 |
The information in this article applies to:
SUMMARYModerate: Requires basic macro, coding, and interoperability skills. This article describes how you can programmatically change the title bar text, also referred to as the Application Title, in Microsoft Access version 7.0 and 97 using Visual Basic for Applications. This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to your version of the "Building Applications with Microsoft Access" manual.
MORE INFORMATIONUnless you set the Application Title in the Startup dialog box to something different for your database, the default text that appears in the title bar is "Microsoft Access." You can manually change the Application Title property of a database by clicking Startup on the Tools menu, and then typing a new name in the Application Title box. Then, whenever you open the database, the title bar text displays the name you typed. You can also programmatically change the Application Title setting every time the database opens by using Visual Basic. As an example, the following steps demonstrate how to set the Application Title to the name of the current database and the name of the current user in the database.
REFERENCESFor more information about changing the application title bar, search for "apptitle," and then "AppTitle Property" using the Microsoft Access 97 Help Index. Keywords : kbprg PgmHowTo Version : 7.0 97 Platform : WINDOWS Hardware : x86 Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |