Upload
vineet-behal
View
223
Download
0
Embed Size (px)
Citation preview
8/3/2019 13792_lecture 1 & 2 of Vb
1/19
FEATURES OF VB It is successor of BASIC language.
It supports event driven programming.
Common Programming Platform
Quick Development
Wizards for automate tasks.
Quick error detection and correction.
8/3/2019 13792_lecture 1 & 2 of Vb
2/19
The RAD tools are the tools that enable
one to create applications in shorter time
as compared to conventional language.
VB is a RAD tool, in which you can create
applications by just creating forms,
dragging and dropping controls on toforms, setting properties, adding
application specific code to handle
events.
8/3/2019 13792_lecture 1 & 2 of Vb
3/19
The traditional application development
process can be broken into 3 distinct steps:
a) Writing
b) Compiling
c) Testing code
Visual Basic uses an interactive approach
todevelopment that merges these 3 steps.
8/3/2019 13792_lecture 1 & 2 of Vb
4/19
The working environment of VB is
referred to as the INTEGRATED
DEVELOPMENTENVIRONMENT (IDE) bcoz
it integrates many different functionssuch as DESIGN, EDITING, COMPILING,
DEBUGGING within an common
environment.
8/3/2019 13792_lecture 1 & 2 of Vb
5/19
1) Click at START button.
2) Select Programs Microsoft Visual
Studio Microsoft Visual Basic.
3) Select New project.
8/3/2019 13792_lecture 1 & 2 of Vb
6/19
A project is a collection of several different
types of files that make up a program.
APPLICATION:- An application is a finalprogram used by the people that is made up
of one or more projects.
8/3/2019 13792_lecture 1 & 2 of Vb
7/19
8/3/2019 13792_lecture 1 & 2 of Vb
8/19
Standard EXE:- This is clicked to
create a standard executable filesuch as basic window application.
ActiveX EXE:- This helps you create
an ActiveX executable componentthat can be executed from other
applications.
ActiveX DLL:- It is used to containcontrols and class code that can be
used in other projects.
8/3/2019 13792_lecture 1 & 2 of Vb
9/19
ActiveX Control:- This is used to create or develop your own
ActiveX Control. An ActiveX control is a basic element of user
interface .eg: text box or a check box, etc.
VB application Wizard:- It takes you through the steps of
setting up the skeleton of a new application.
Data Project:- It automatically adds the controls that are
used in assessing databases to toolbox.
IIS application:- This lets you create an Internet Information
Server application. It can run on a web server and interact
with clients over the internet.
AddIn:- You can create your own add-ins for the VB-IDE.
ActiveX Document DLL:- This project is used to create
ActiveX document DLL form. It is used by Visual Basic
application that will be installed and executed from the
internet.
8/3/2019 13792_lecture 1 & 2 of Vb
10/19
ActiveX Document EXE:- This is used to create
ActiveX documents in EXE form. The ActiveXdocuments can be run on many internet based
VB applications.
DHTML application:-Th
is will allow to buildDynamic HTML pages that can be displayed in
the browsers window on a client computer.
VB Pro/Enterprise Edition Controls:- It will
create a new standard EXE project and loads allthe tools of the Professional /Enterprise edition
of Visual basic.
8/3/2019 13792_lecture 1 & 2 of Vb
11/19
Visual Basic IDE consist of following elements:-
a) Title Bar
It will displays the title of the project. Notice, here the title
bar is displaying [design] word. This means the application iscurrently in design mode.
VB application works in 3 modes:-
a) Design mode:- when application is being created.b) Run mode:- When application is executing.
c) Break/Suspended mode:- When application is in state ofsuspension.
8/3/2019 13792_lecture 1 & 2 of Vb
12/19
8/3/2019 13792_lecture 1 & 2 of Vb
13/19
A Toolbar is a bar that displays icons for
commonly used tasks.
Add
form Saveproject
Open
projectStart
End
break
8/3/2019 13792_lecture 1 & 2 of Vb
14/19
8/3/2019 13792_lecture 1 & 2 of Vb
15/19
A toolbox is a window that displays a set of
tools that may be used to place controls on a
form.
LABEL
Check
box
Text box
Commandbutton
Radio button
List box
8/3/2019 13792_lecture 1 & 2 of Vb
16/19
The Form designer Window is the Form
Window in design form.
8/3/2019 13792_lecture 1 & 2 of Vb
17/19
It shows the list of forms and modules in a
project.
8/3/2019 13792_lecture 1 & 2 of Vb
18/19
It lists the properties of a selected control or
for the form. A property is a characteristic of
an object such as its size, caption, etc.
8/3/2019 13792_lecture 1 & 2 of Vb
19/19
Form layout Window:- This is used to set or
change the position of the form.
Code Editor Window:- It serves an editor forentering application code.