Академический Документы
Профессиональный Документы
Культура Документы
of
Visual Basic
1
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 ).
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.
Starting
Visual Basic
6
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 ).
Visual Basic I D E
Title bar
Menu bar
Toolbar
Project
Window
Toolbox
Form
Window
Properties
Window
Form
Layout
Window
Visual Basic Integrated Development Environment
10
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.
11
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.
12
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.
13
14
15
16
17
Press F5 Key
18