0% found this document useful (0 votes)
140 views

Creating Menus For Your Applications: 37.1 Adding Menu Bar Using Visual Basic's Application Wizard

The document discusses two ways to add menu bars to Visual Basic applications: 1) Using the Visual Basic Application Wizard which allows fully customized standard windows menus to be inserted easily. You select the menu items to include. 2) Using the menu editor which provides more customization options for advanced users to design custom menus. The wizard is recommended for beginners as the simplest method for adding common menu items like File, Edit, View, etc.

Uploaded by

YaronBaba
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
140 views

Creating Menus For Your Applications: 37.1 Adding Menu Bar Using Visual Basic's Application Wizard

The document discusses two ways to add menu bars to Visual Basic applications: 1) Using the Visual Basic Application Wizard which allows fully customized standard windows menus to be inserted easily. You select the menu items to include. 2) Using the menu editor which provides more customization options for advanced users to design custom menus. The wizard is recommended for beginners as the simplest method for adding common menu items like File, Edit, View, etc.

Uploaded by

YaronBaba
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Creating Menus for Your Applications

Menu bar is the standard feature of most windows applications. The main purpose of the menus is for easy navigation and control of an application. Some of the most common menu items are File, Edit, View, Tools, Help and more. Each item on the main menu bar also provide a list of options or in the form of a pull-down menu. When you create a Visual Basic 6 program, you need not include as many menu items as a full fledge Windows application such as Microsoft Words. What you need is to include those menu items that can improve the ease of using your program by the user, and not to confuse the user with unnecessary items. Adding menu bar is relatively easy to accomplish in Visual Basic. There are two ways to add menus to your application, one way is to use the Visual Basic's Application Wizard and the other way is to use the menu editor. 37.1 Adding Menu Bar Using Visual Basic's Application Wizard The easiest way to add menu bar to your application is by using Visual Basic's Application Wizard. This wizard allows the user to insert fully customized standard windows menus into his or her application. To start using Visual Basic's Application Wizard, you click on the Application Wizard icon at the Visual Basic new project dialog box, as shown below:

Figure 37.1: New Project Window

When you click on the VB Application wizard, the introduction dialog box will appear, as shown in Figure 37.1. As you are not loading any default setting, just click on the Next button. After clicking the Next button, the interface type dialog box will be displayed, as shown in Figure 37.3. There are three choices of interface for your project, as we currently not creating a Multiple Document Interface (MDI), we choose Single Document Interface (SDI). You can also type the project name in the textbox below, here I am using MyFirstMenu. After clicking the Next button, you will be presented with a list of menus and submenus that you would like to add them to your application. Check to select a menu item and uncheck to unselect a menu item. Let say we choose all the menus and click next, then you will get an interface will File, Edit, View and Help menus. such as that shown in Figure 37.5

Figure 37.2

Figure 37.3

Figure 37.4

Figure 37.5

You might also like