Menu Commands In VB


© Swapna Kamat
Articles in this Topic    Discussions in this Topic

Menu Commands In VB

We have seen the VB environment last time. We had a look over the five main windows that dominate the Visual Basic screen. We also had a brief introduction of the different panes and their functions. We shall study them in detail later.

This time we shall take a look at the menu commands in brief. This may seem too childish at this stage but I do have to cater to the needs of the entire audience. 

File

The File menu contains all file-related commands with which you can load and save Visual Basic applications. It also provides printing access for printed program descriptions. Overall, all functions you can find in the file menu of any standard windows application can be found here.

Edit.

Programmers often use the commands on the Edit menu for copying, cutting, and pasting text and graphical controls among applications. The Edit commands also help you with the creation of your programs by supplying common search and replace actions. Most of the commands in the Edit menu have keyboard shortcuts (e.g. Ctrl->C for copy). Try mastering them. They will help you save lot of time in the future.

View

The View menu command enables you to control the viewing of your application's Code window, various routines that can appear inside the Code window, as well as the toolbar. By hiding the toolbar, you can gain a little extra screen space. For instance, if you wanted more workspace and did not use the toolbar often, you could hide the toolbar by unselecting View Toolbar (the default is selected so that the toolbar appears). The toolbar will disappear. Selecting View Toolbar once again displays the toolbar. This can be a boon for those working on lower screen resolutions (less that 800x600).

Project

Everything you do in VB can be considered as a project. And a project contains lot of sub-elements. Addition, deletion or amending these elements can be done via the project menu.

Run

When you complete an application, you can see the results of your work with the Run menu. The Run menu enables you to execute programs, halt the execution, and resume the execution after a halt.

Debug

One of the most powerful features of Visual Basic is its debugging capability. With the Debug menu, you can execute a Visual Basic program one statement at a time, looking at data values along the way, and stop the program at any point to analyze what is going on.

Window

With the Window menu, you can display the Project, Properties, and Toolbox windows as well as auxiliary areas in Visual Basic such as Visual Basic's color selection box, the Menu

Go To Page: 1 2


Post this Article to facebook Add this Article to del.icio.us! Digg this Article furl this Article Add this Article to Reddit Add this Article to Technorati Add this Article to Newsvine Add this Article to Windows Live Add this Article to Yahoo Add this Article to StumbleUpon Add this Article to BlinkLists Add this Article to Spurl Add this Article to Google Add this Article to Ask Add this Article to Squidoo