vbasic.pdf

(353 KB) Pobierz
Visual Basic Programming
An Introduction
Why Visual Basic?
Programming for the Windows User
Interface is extremely complicated.
H
Other Graphical User Interfaces (GUI) are
no better.
H
Visual Basic provides a convenient method
for building user interfaces.
H
Visual Basic can interface with code written
in C, for efficiency.
H
What Visual Basic is not
Visual Basic is
not,
a powerful
programming language that enables you to
do anything you want.
H
Visual Basic is
not,
elegant or fast.
H
Visual Basic is
not,
a replacement for C.
H
Visual Basic is
not,
anything like any other
programming language you have ever used.
H
When You Program in VB:
You draw pictures of your user interface.
H
You draw buttons, text boxes, and other
user-interface items.
H
You add little snippets of code to handle the
user interaction.
H
You add initialization code, usually as the
last step.
H
If you like, you can code more complex
functions. (But many do not.)
H
The Visual Basic Interface
Draw Your
Program
Here!
Zgłoś jeśli naruszono regulamin