Você está na página 1de 8

Introduction

 What is VISUAL BASIC?


Microsoft visual basic is powerful development
platform that can be developed by Microsoft that can be used
to create feature application for the window 95 to window 7
operating system quickly and easily. It is based on an event
driven programming model. Visual basic is a rich object
based language and easy to use set of debugging tools.
Visual basic consists of two part viz. “Visual” and
“Basic”. The visual part used to create the graphical user
interface and the “Basic” part refers to the BASIC language
since visual basic is a descendant of BASIC.
Visual basic is not just a language. But is an
Integrated Development Environment [IDE]. An ide is
basically a term commonly used in the programming world to
describe the interface and environment where you can
develop, run, test and debug your application.

Features of VISUAL BASIC


Writing a graphical user interface program is much
easier in Visual basic. Visual basic has a very friendly
environment, which helps to create forms, add controls to the
form and write code behind form , very quickly and easily.
Visual Basic also has an online help system. There are many
other feature in Visual Basic which are following:-

i. Event-driven programming language


ii. Object orientation
iii. GUI/Windows Environment
iv. Internet based applications
New Project Window
 Standard EXE:-
A standard EXE project is a typical & commonly
used project type.
 Active EXE & DLL:-
These type of project are available with the
professional edition. Active X components are basic code
building components. These are identical in functionality.
 Active X Controls:-
This type of project is also a picture of the
professional edition. Active X control allow a user to develop
their own custom controls such as text box or command
button controls, which are basic elements of the user
interface.
 VB Application Wizard:-
The application wizard provides a series of steps for
setting up the VB wizard manager scalton of new application
& the wizard manager lets you build your own wizard, A
wizard is a sequence of windows that collect information
from the user.
 Data Project:-
This is a feature of the enterprise edition, & it does
not correspond to a new project type. It is a identical to the
standard EXE project type, But it automatically adds the
controls that are used in accessing data base to the tool box.
 DHTML Application:-
It allows you to build dynamic HTML page.
 IIS Application:-
It allows you to build application that run on the
web server & interact with clients over the internet with
Internet Information Server.

 Addin:-
It allows you to create your own add-ins for the
Visual Basic IDE. Add-ins are special commands that you
can add to Visual Basic’s menu.
 VB Enterprise Edition Control:-
This is not a new type of project but it simply creates
a new Standard EXE controls project & loads and the tools of
the Enterprise edition of VB.

You can select one of these project types based on your


requirement hen you are ready to work in Visual Basic 6.0. In
fact these will be the common steps that will be repeated every
time.

TOOL BOX
The tool box is container that contains different objects
& controls. The objects & controls in the tool box can be
added to the forms to create graphical user interface. More
controls can be added to the Tool Box by the using component
command on the project menu, The VB tool Box contain two
types of controls: Standard and Custom. The control built into
VB is standard control. Custom controls are added by
including special files, which contains the controls. Typically,
custom controls are contained in files with extensions .VBX
& .OCX.
In case if the tool box is not visible then one can use the
following steps for showing the toolbox:-
1. Select the view menu.
2. Select the toolbox option from this menu.

THE MENU BAR


This section presets the details of the options
available in the menu bar.
The File Menu :-
The file menu allows you to execute functions such
as opening files, closing files, saving files with the different
file name, printing the file & executing files. The files refered
to include project files & .EXE files. The list of its options
are following:-
 New Project
 Open Project
 Save File
 Save file as
 Save project
 Save project as
 Add file
 Remove file
 Print Setup
 Print
 Make EXE file
 Make OLE DLL file
 Exit
The Edit Menu :-
The edit menu allow you to execute fnction such as
editing formulas, text fields & summary operations,
reviewing field data, changing the positions of items in a
stack, & deleting group section. You also have function for
cutting, copying & pasting text. Its options are following:-
 Undo
 Redo
 Cut
 Copy
 Paste
 Paste Link
 Delete
 Find r P
 Replace
 Indent
 Outdent
 Bring to font
 Sent to back
 Align to grid
 Log Control

The View Menu :-


The view menu allow you to view the code &
form; You have function view the object browser, debug
window, project & properties. You can also control the
display of the toolbar, toolbox and the color palette. Its
options are following:-
 Code
 Form
 Procedure Defination
 Last position
 Object Browser
 Debug Window
 Project
 Properties
 Tool Bar
 Color palette

The Project Menu :-


The project allows you to insert procedures,
forms. MDI forms, Modules & Components. Its options are
following:-
 Add form
 Add MDI form
 Add module
The Debug Menu :-

This menu allows you to test your code by


running it and you can debug your code. Its options are
following:-
 Step into
 Step over
 Run to Cursor
 Add watch
 Edit Watch
 Quick Watch
 Toggle Break Point
 Clear All Break Points
 Set next Statement
 Show next Statement

The Run Menu :-

The run menu has options that allow you to test


your code by running it and working with it. Its options are
following:-
 Start
 Start with full compile
 And
 Restart

The ADD-INS Menu :-

This menu allow you to access the following


featues of VB:-
 Visual Data Manager
 Add-in Manager
The Help Menu :-
The help menu allows you search for information
relavant to VB. Its options are following.
 Contents
 Search
 Technical Spport
 Learning Microsoft VB

Você também pode gostar