I. Objectives:
At the end of the lesson, the students are expected to: * To illustrate VB IDE * To explore and handle the tools/ parts of Visual Basic workplace as well as the shortcut keys used * To enumerate and describe the different tools/ parts of Visual Basic environment * To manipulate VB IDE * To use the tools in VB IDE correctly. * To create a simple Windows-Based program II. Concepts: . Working in the Development Environment Visual Basic development environment has different elements. When we start Visual Basic and select a project type, the graphical development environment appears. The following illustration shows some of the development environment’s elements.
Fig. 1.3 Visual Basic Environment
The VB IDE consists of several elements, namely; Title Bar
This is a horizontal bar along the top of the screen. In VB, it displays the name of the project working on.
Menu Bar
Provides all commands used for developing, maintaining and executing VB programs.
Toolbar
Comprised of pictures called icons that represent commonly used commands on the Menu Bar.
Toolbox
Contains the objects and controls that you can add/ insert to forms to create the user interface of your program. | | Pointer | Used to interact with the controls on the form(i.e., resize them, move them, etc.). it is not a control | PictureBox | A control that displays images | Label | A control that displays uneditable text to the user at run-time. | TextBox | A control for accepting user input. it can also display text. | Frame | A control for grouping other controls | CommandButton | A control that represents a button. the user presses or click to initiate an action. | CheckBox | A control that provides the user to toggle choice | OptionButton | A “radio button”. It is used in groups where only one at a time can be true or on. | ListBox | A control that