Documente Academic
Documente Profesional
Documente Cultură
MI
2E
GROUP TWO
Definition
Visual Basic is a programming language and
development environment created by Microsoft. It is an
extension of the basic programming language that
combines BASIC functions and commands with visual
controls. Visual Basic provides a graphical user interface
GUI that allows the developer to drag and drop objects
into the program as well as manually write program
code.
Function
Used for writing applications based on desktop.
With visual basic a program can design applications in a
programming environment that looks a lot more like
Windows itself.
Variable
The variable is the location in memory that is
named.
Declaring a Variable
Example :
DIM i AS INTEGER
Variable
VarName
Data Type
Dim
Integer
: Take the value integer between -32768 32768 s/d (15 bit).
Type Data
The type of data in the variable determines the
type of data that can be stored inside.
Visual Basic 6 to know some type of data, among
other things:
1.Boolean : Type data of value TRUE or FALSE.
2.Currency : Type of data for a number of currencies.
3.Date
: Type of data for date and time.
4.Integer
: Type of data for numbers.
5.Single
: Type of data for numeric fractions.
6.String
: Type of data for the text (letters, numbers
and punctuation marks).
Operator
The symbol used to perform an operation on the data
values.
BMI Calculator
Basic
Stands
for
"Beginner's
All-purpose
Symbolic
Instruction Code." BASIC is a computer programming
language that was developed in the mid-1960s to
provide a way for students to write simple computer
programs. Since then, the language has evolved into a
more robust and powerful language and can be used
to create advanced programs for today's computer
systems.
GUI
Stands for "Graphical User Interface" and is
pronounced "gooey." It is a user interface that includes
graphical elements, such as windows, icons and
buttons.