meaning-of-vb-1232545164230703-1
DESCRIPTION
eeTRANSCRIPT
2
VB as Programming Language
Visual Basic is a Programming tool that allows user to develop Windows or
GUI ( Graphical User Interface ) applications. It means that rather
than writing numerous line for code to describe the appearance and
location for interface elements like C , C + + or Basic. User can simply
drag and drop pre-built objects into the form window on computer screen.
VB is a much enhanced version of BASIC programming language
( BASIC is Predecessor of VB ). The main difference is that the VB can
create windows programs by just Drag & Drop where as BASIC could only
create DOS programs or work only in CUI (Command User Interface ).
3
Features of Visual Basic ( VB )
VB introduces the concept of Event Driven programming Model.
It has built in Database Handling Features of VB.
It incorporated the concepts of objects.
It has useful Error – Handling Features.
It has Front – End Application Developer.
It also known as RAD ( Rapid Application Development )
4
Event & Event Procedure
An event is an action recognized by an object, such as clicking a mouse or pressing a key. User can write code to respond to that event. Each object has different events that it recognizes.
An event procedure is a section of code that is executed when an event (like clicking a command button) takes place. Event procedures can be added to your project in the code editor window.
5
Program Development Process
It is a process in which an ordered sequence of steps is defined to
develop an application. It includes :-
How the Program should Work
Plan about User Interface
Implement it
Test it
7
Interface of Visual Basic
When user start the window it display a screen having certain option.
With the help of this screen user can select the type of project user
want to make.
Visual Basic environment is platform provided by VB to develop and
execute a project . This environment consist of different platforms or
control tools and various other options.
9
Visual Basic I D E
When user choose any application platform, like any other window
application, VB consists of multiple window, which appear at start up. The
windows that are display when user start VB are collectively Known as
Visual basic Integrated Development Environment ( IDE ).
10
Visual Basic I D E
Project Window
Properties Window
Form Layout Window
Form Window
Toolbox
Toolbar
Title barMenu bar
Visual Basic Integrated Development Environment
11
Properties Window
The Properties window let user to change the characteristics, or property settings, of the form itself and of visual interface elements on the form. The Properties window consists of two columns: the first is the name of the property, which user cannot change; the second column, which is the property setting that user can change. Any Change in the property of the object will affect the object on the form.
12
Tool Box
The toolbox consists of the various objects that user will use to design the application. These objects, called controls, are objects that user see in all standard Win applications, such as textboxes, command buttons, option (radio) buttons, checkboxes, etc.
13
Form Window
The Form window is the central area where user can draw application. The forms are windows which holds control like Button , Checkbox etc which make user application. The large area of form is called client area for working with different controls.
14
Source Code Window
The Source Code window is where user type the code which VB execute. It has two parts Control Box , Event Box . The Heading of window indicate which event the code is associated . It is a window where user write most of the code .
17
Opening , Saving & Running
Opening a Project : - To open a VB project , invoke VB6 shortcut on the Desktop or going through the pull-up menu select VB program .
Start Program Microsoft Visual Basic 6.0 .
Saving a Project : - After creating a Project , user need to save it . For
this click File menu and select save project. Then system asks : -
1. Provide a name for Form File ( . frm )
2. After that Provide a name for Project file ( .vbp )