• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Chapter 28. Responding to Events with VB... > Specifying a Custom CommandBar and S...

Specifying a Custom CommandBar and Setting Other Startup Properties

The Startup dialog lets you assign an application title to the database, specify a form to open when the application starts, and specify the name of a custom CommandBar as Access's main menubar. To set Startup properties, follow these steps:

  1. Make the Database window active and choose Tools, Startup to open the Startup dialog. Click the Advanced button to expand the dialog.

  2. Type a name for your application in the Application Title text box; the application name replaces Access's default title bar caption. If you have a special icon file (Filename.ico), you can specify the icon file in the Application Icon text box.

  3. If you've created a custom CommandBar for your application, select the CommandBar in the drop-down Menu Bar list.

  4. Open the Display Form/Page list and select the form that you want to appear when you open the database (see Figure 28.24). You can elect to hide the Database window and the status bar by clearing the Display Database Window and Display Status Bar check boxes.

  5. The remaining check boxes let you limit use of your application's menubars, shortcut menus, and toolbars. You can also restrict viewing of VBA code when an error occurs and disable Access's special key combinations.

    Figure 28.24. Setting the Application Title, Menu Bar, and Display Form properties in the Startup dialog.

    Tip #269from

    Don't clear any of the Startup dialog's check boxes until you're ready to release your application to users. Limiting Access's built-in menu, toolbar, and code-viewing feature set is likely to impede your development activities.

  6. Click OK to assign the changes you made and close the Startup dialog.



Not a subscriber?

Start A Free Trial

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint