Visual Basic 6 Projects Tutorial With Source Code
Visual Basic 6 Projects Tutorial With Source Code
PD PD
1/5/2010 Visual Basic 6 Projects tutorial with sour…
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u -tr a c k c u -tr a c k
Tutorials Next
Welcome!
Visual Basic 6.0 programming for beginners!
First of all,
let me say
Hello! to my
many,
many, loyal
students
particularly
in India, the
Philippines
and
Malaysia.
Over the
years you
have proven
to be among
the best
consumers
or my VB
tutorials and
http://www.profsr.com/vb/vbintro.htm… 1/11
F -X C h a n ge F -X C h a n ge
PD PD
1/5/2010 Visual Basic 6 Projects tutorial with sour…
!
W
W
O
O
I appreciate
N
N
y
y
bu
bu
it. My
to
to
k
k
lic
lic
C
C
w
w
m
m
statistic s
w w
w
w
o
o
.d o .c .d o .c
c u -tr a c k c u -tr a c k
tell me that
on the other
side of the
world from
here (here
being
Canada)
students
and
programmers
in tec hnic al
colleges and
software
training
centres are
studying my
courses and
that makes
me glad. I'll
really try to
do as muc h
as I can for
you.
Now, I just
want to
apologize
that the
tone of
most of the
referenc es
and lessons
is so North-
American. I
would love
to give you
examples,
samples and
situations
based on
your c ultural
norms but
the truth is
that I don't
know
enough
about them,
yet. For
example, I
have
absolutely
no idea how
a cric ket
game is
http://www.profsr.com/vb/vbintro.htm… 2/11
F -X C h a n ge F -X C h a n ge
PD PD
1/5/2010 Visual Basic 6 Projects tutorial with sour…
!
W
W
O
O
played!
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
In my
w w
w
w
o
o
.d o .c .d o .c
c u -tr a c k c u -tr a c k
defense,
pic ture to
yourself, if
you c an,
that as I
write this I
see outside
my window
that there is
a metre of
fresh snow
on the
ground and
the
temperature
is a windy -
12o C. The
only subjec t
of
discussion
by sports
fans is
yesterday's
hockey
game (ic e
hoc key,
that is).
!
W
W
O
O
N
N
y
y
bu
bu
Or do you just want to get your hands on that
to
to
k
k
lic
lic
C
C
w
w
m
m
college degree and then head-out into the
w w
w
w
o
o
.d o .c .d o .c
c u -tr a c k c u -tr a c k
urban jungle?
Whether
you're a
beginner at
the
programming
game or a
programmer
who as some
experience
with other
languages,
you'll find
that Visual
Basic 6 is just
about the
best way to
start getting
the right
training with
the objec ts
approach to
programming.
Mic rosoft
Want to try the boasts that
great Linux OS there are 3.2
without risk? million users
There's a small of Visual
distribution that Basic 6 in the
will run from world.
within Windows Sometimes it
- you c an seems that at
explore as much least half of
as you want. them have
Visit written a
Linux4Windows book, a
for the free magazine or a
tutorials, tutorial on
downloads and the subject.
articles. The amount
of information
available is
overwhelming.
The problem
is that
everything
http://www.profsr.com/vb/vbintro.htm… 4/11
F -X C h a n ge F -X C h a n ge
PD PD
1/5/2010 Visual Basic 6 Projects tutorial with sour…
!
W
W
O
O
you need to
N
N
y
y
bu
bu
know is there,
to
to
k
k
lic
lic
C
C
w
w
m
m
somewhere,
w w
w
w
o
o
.d o .c .d o .c
c u -tr a c k c u -tr a c k
but when
you're just a
beginner you
can't even
know where
to begin to
look. So, why
another
tutorial?
Well, this Visual Basic tutorial is different. For one thing it's meant
for the real beginner - the one who doesn't know his Form from a
hole in the ground. It c overs all the basic s to get you programming
a real applic ation and sets you on the road to bigger and better
things. And it has lots of easy to follow examples, sample projec ts
and Visual Basic 6 source c ode that you can evaluate and adapt to
your own needs. Also, it's organized like a textbook, not a reference
manual. You do not have to know what you're looking for in order to
find it. If you follow the lessons, in order, you go through all the
fundamentals required to start produc ing real c ode.
Top
http://www.profsr.com/vb/vbintro.htm… 5/11
F -X C h a n ge F -X C h a n ge
PD PD
1/5/2010 Visual Basic 6 Projects tutorial with sour…
!
W
W
O
O
for beginners, and although it is quite versatile, I don't know if
N
N
y
y
bu
bu
I'd call it exac tly All-purpose. And while it is still Instruction
to
to
k
k
lic
lic
C
C
w
w
m
m
Code, it is more than Symbolic now. But THE big differenc e is
w w
w
w
o
o
.d o .c .d o .c
c u -tr a c k c u -tr a c k
the Visual aspec t of it where you work with windows and ic ons
and pic tures and multimedia.
It really is a lot of fun!
!
W
W
O
O
the events -
N
N
y didn't know
y
bu
bu
there are loops
to
to
k
k
you c ould
lic
lic
C
C
w
w
m
m
and c onditions
w w
w
w
o
o
.d o .c .d o .c
c u -tr a c k
do! c u -tr a c k
and arrays. We
will not be
c overing the
fundamentals of
programming as
suc h - you
should be
familiar with the
basic c onstructs
suc h as the
IF...THEN...ELSE
or the
FOR...NEXT
statements.
Top
As for version, this tutorial is based upon Visual Basic 6.0. You
may have ac cess to version 4 or 5 in your environment. Don't
worry about it. Of c ourse Mr. Gates would like us to rush out to
the store and buy the latest release as soon as it hits the
shelves but we are not all as, shall we say, fortunate, as Mr.
Gates when it c omes to spending money. Right now, when a
new version is announced, most of the improvements cover
Internet acc ess or Class libraries, etc. At this level of training,
we will not be using most of those fac ilities and so, one version
is just about as good as another. A form is a form and a button
is a button. There may be slight differences in the interfac e
between versions but those will not matter muc h.
!
W
W
O
O
redraw the forms, buttons and so on but, that is a minor
N
N
y
y
bu
bu
inc onvenienc e when you can paste in the c ode for all those
to
to
k
k
lic
lic
C
C
w
w
m
m
objec ts.
w w
w
w
o
o
.d o .c .d o .c
c u -tr a c k c u -tr a c k
However, if you are just getting into programming or into VB, the
basic stuff doesn't c hange. You still need to know how to c reate a
form, how to put c ontrols on a form, how to write a loop or a
decision struc ture. That hasn't c hanged in ages and that you c an
still learn with Visual Basic 6. I see installations out in the real world
still doing tons of interesting work with versions 4 or 5 of Visual
Basic !
Top
http://www.profsr.com/vb/vbintro.htm… 8/11
F -X C h a n ge F -X C h a n ge
PD PD
1/5/2010 Visual Basic 6 Projects tutorial with sour…
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u -tr a c k c u -tr a c k
Lesson 1b
Lesson 2
Lesson 3
Lesson 4
Lesson 5
Arrays
More c ontrols: ListBox, ComboBox
Properties and Methods of objects in Visual Basic
Building a file search application: DriveListBox, DirListBox, FileListBox
Lesson 6
http://www.profsr.com/vb/vbintro.htm… 9/11
F -X C h a n ge F -X C h a n ge
PD PD
1/5/2010 Visual Basic 6 Projects tutorial with sour…
!
W
W
O
O
N
N
y
y
bu
bu
Building a Menu
to
to
k
k
lic
lic
C
C
Debugging Visual Basic code
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u -tr a c k c u -tr a c k
Error trapping
Lesson 7
Lesson 8
Lesson 9
Lesson 10
Lesson 11
Lesson 12
http://www.profsr.com/vb/vbintro.htm… 10/11
F -X C h a n ge F -X C h a n ge
PD PD
1/5/2010 Visual Basic 6 Projects tutorial with sour…
!
W
W
O
O
N
N
y
y
bu
bu
to
to
k
k
lic
lic
If you haven't found the Visual Basic resource you're looking for,
C
C
w
w
m
m
w w
w
w
o
o
.d o .c .d o .c
c u -tr a c k c u -tr a c k
use our Google Search box for more information.
Search
Top
http://www.profsr.com/vb/vbintro.htm… 11/11