Saturday, 19 July 2014

Class 8 - VB

Visual Basic

Visual basic was derived from the language BASIC. 

BASIC has its own limitations., it is a simple programming language but used only in a text based environment. But visual basic is

  • User friendly

  • Supports Graphical User Interface(GUI)

VB is an Event- driven programming, which means the flow of the program is determined by an Event.

An Event is an action performed either by mouse click, double click or pressing keys on the keyboard.

 Integrated Development Environment describes the interface and the environment we use to create our own applications.

 1. Form design window
 2. Tool box

 3. Menu bar

 4. Project explorer

 5. Properties window

 6. Form layout


Project Explorer Window
             
              It lists all the forms in the project. The components of the window are:
  • View code
  • View object
  • Toggle folders
  • Project name
  • Forms folder
  • form module


Properties Window

              It displays the properties like font name, caption, background colour etc of the selected object on the form.

A form is saved with an extension  .frm .
A project is saved with an extension .vbp .

        To execute the visual basic program :
  •         Click Run from Start option
  •         Click start on the Toolbar
  •         Press F5 key
                      

No comments:

Post a Comment