ACC1x: How to Add Items to the Help MenuLast reviewed: August 6, 1997Article ID: Q88648 |
The information in this article applies to:
- Microsoft Access versions 1.0, 1.1
SUMMARYThe Help menu items that appear at the top of the screen in Microsoft Access can be supplemented so that your own custom menu items appear. This can be done by creating an entry in the MSACCESS.INI file.
MORE INFORMATIONYou can add your own entries to the [Menu Add-Ins] section of the MSACCESS.INI file. You can use this feature to invoke a macro, an Access Basic program, or an Access Basic function from a Help menu item. To add to this section of the MSACCESS.INI file, follow these steps:
[Menu Add-Ins] Customer Form=OpenCustFormTo add a Help menu item called Run Daily Update that runs a user-defined Access Basic function called RunUpdate(), you would add the following to the MSACCESS.INI file:
[Menu Add-Ins] Run Daily Update==RunUpdate()Note that the second equal sign (=) in the above example is required for running user-defined or other Access Basic functions. You can also define an underlined character in your Help menu item that is accessible with the ALT key. To do this, place an ampersand (&) in front of the character that should be underlined. For example, to create a Help menu item called Show Message with the M underlined that calls the Access Basic MsgBox() function, add the following to the MSACCESS.INI file:
[Menu Add-Ins] Show &Message==MsgBox("This is a message")You can add multiple items to the [Menu Add-Ins] section of the MSACCESS.INI file. The example below includes all the examples in this article:
[Menu Add-Ins] Customer Form=OpenCustForm Run Daily Update==RunUpdate() Show &Message==MsgBox("This is a message")After you have made these changes to the MSACCESS.INI file, save the file and then close Notepad. When you restart Microsoft Access, the items in the [Menu Add-Ins] section will be available from the Help menu. Keywords : UifOthr kbui Version : 1.0 1.1 Platform : WINDOWS Hardware : x86 Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |