Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Version 1.1
Copyright © HKTA Tang Hin Memorial Secondary School 2012-13
Contents
2
4.3 Methods ............................................................................................................... 24
Exercise 4 ......................................................................................................................... 26
3
Introduction to Visual Basic - Book 1
A program is a set of instructions that tells a computer how to do a task. With programs,
computers can perform tasks __________________ and ___________________.
Programming is the process of designing, writing, testing and debugging (remove mistakes)
a program. To write a program, you need to know and solve the problem first. After
solving the problem, you tell the computer how to solve the problem using a programming
language.
For example, if you need to write a program that calculates percentage changes, you
should first solve the problem by obtaining the formula of percentage change. After that,
you will write a program to do the task. In this course, Visual Basic.net the programming
language you use.
4
Chapter 1 Ideas of Programming
In computers, instructions are stored in machine code, that each instruction (e.g. ADD,
SUBTRACT, MULTIPLY, etc.) is given a unique number. Computers can understand machine
code only!
And the implementation is a translator: something that converts the program from the
programming language into machine code.
1.4 Compilers
Compilers are a type of translator that converts source code into an object program. The
object program is stored in an executable file (.exe), which can be executed directly in a
computer. The usage of a compiler can be summarized in the diagram below:
5
Introduction to Visual Basic - Book 1
Here are the names and characteristics of some programming languages. You are only
required to remember the names of these programming languages.
(The characteristics and example are provided for reference only.)
6
Chapter 1 Ideas of Programming
7
Introduction to Visual Basic - Book 1
To download Visual Basic 2010 Express, you should search of “Visual Basic 2010” in Google.
After that, click the first link (“Visual Basic 2010 Express | Microsoft Visual Studio”)
(Note: in the PDF version of the file, you can simply click the link above.)
Once you enter the web site, follow the instructions to install the application.
8
Chapter 2 Visual Basic 2010 Express
The first thing you do in Visual Basic is to start a new project. Follow the instructions
below:
2. Choose “Windows
Forms Application”.
4. Press “Okay”.
9
Introduction to Visual Basic - Book 1
10
Chapter 2 Visual Basic 2010 Express
After you create and save a project, you can see the screen like the figure below. This is
known as an Integrated Development Environment, or simply IDE. An IDE contains
different kinds of tools that help you to write programs, like source code editor, form
designer, compiler, debugger and many other tools.
Solution Explorer
Properties Window
If some of the above features is/are missing, you can click the buttons to show them.
(See the figure above for the icons’ position on the screen.)
11
Introduction to Visual Basic - Book 1
Now we add some controls and code to the program. For your first program, follow the
steps below:
When you run the program, click the button “Go” You MUST type all the words,
(i.e. Button1), and then a message box containing including the punctuations, in
exactly the same way. Extra
the message “Hello” will be shown. spaces is NOT allowed between
letters and digits.
Points to note:
The words “Public Class Form1”, “Private Sub …”, “End Sub” and “End Class” must be
put in this order. It is too difficult to understand their meanings at this stage.
The button is known as “Button1” because you can find the words “Button1” in its
“(Name)” property. You can rename the button by setting this property.
12
Chapter 2 Visual Basic 2010 Express
After you save a project, you can open the project later. To open the project, please follow
the instructions here:
Alternatively, you can simply use Windows Explorer to find the same Solution File.
However, if you have installed two different versions of Visual Basic, this method may not
work well.
13
Introduction to Visual Basic - Book 1
The screenshot below illustrates the folder structure of a Visual Basic project. When you
need to copy the project to another computer, or submit your homework or test in eClass,
remember to ZIP all the contents of the base folder!
Also, when you create a Form in Visual Basic IDE, three files are created. You can open
the .Designer.vb file with a text editor, in order to see the source code. However, no
apparent action can be done in the .resx file.
If you have a question, you can go to Microsoft Developer Network (MSDN) to find the
information. For example, if you want to know the meaning of the keyword “Then”, just
Google “then vb msdn” and you will find the information in MSDN.
14
Chapter 3 Working with Controls
When you create a new project (see section 2.3.1 for details), you
see an empty dialog box, which is known as a form, and also a
Toolbox with a lot of controls (see the figure).
You can add controls by dragging the controls into the form.
When you finish, press F5 (the function button at the top of the
keyboard) to run the program.
3.2 Controls
In Visual Basic, users interact with the program using the controls
in the form. Each control has its own use. Here are the types of
controls we learn in this chapter:
Forms and controls have properties, events, and methods. Together they make the forms
and controls useful for programmers.
15
Introduction to Visual Basic - Book 1
Property Use
(Name) You give a name to the control, and use this
(design time only)* name to refer to the control in your own
source code.
Text† The text on the control, or the title of the
form.
ForeColor The foreground colour (i.e. colour of the
text) inside the control.
BackColor The background colour (i.e. colour of the
empty space) of the control/form.
Left‡ Horizontal/vertical position of the control,
Top counted by the number of pixels relative to
the left/top side of its parent.
Width The width or height of the control, counted
Height by the number of pixels.
Visible Whether the control is visible to the user.
Enabled Whether users can interact with the control.
If not, the control is usually dimmed.
TextAlign The horizontal and vertical alignment of the
(design time only) text inside the control.
Font The font used by the text in the control.
(design time only)
*
Even though we say “design time only”, it is actually possible to change these properties during runtime.
However, how to changing these properties in runtime is too difficult to be included in this course.
†
For labels and buttons, there is a subtle difference with the Text property. Search “UseMnemonic” in
Google for details.
‡
In the design view, properties Left and Top are named Location.X and Location.Y instead.
16
Chapter 3 Working with Controls
Properties of controls can be changed using the properties window (during design time) or
by Visual Basic code (during runtime).
Here is an example program that changes some In Visual Basic, the word “Color”
is spelt in American English
properties of the form and the controls. To enter (no “U”).
the code into Visual Basic IDE, you can double
click Button1 in design view. Can you guess what will happen after Button1 is clicked?
(Note: “Me” refers to the form.)
Label1.Text = "Name"
Label1.BackColor = Color.Green
Label1.ForeColor = Color.Yellow
Label1.Top = 80
TextBox1.Text = "Sarah"
TextBox1.BackColor = Color.Red
TextBox1.Enabled = False
TextBox1.Left = 20
Button1.Visible = False
End Sub
End Class
17
Introduction to Visual Basic - Book 1
Different properties accept values of different data types. Please see the table below:
Note: A string is enclosed in a pair of double quotes (""). If you want to have the "
character inside a string, type that character twice. E.g. "She said ""hello"" to
me."
Write down a Visual Basic statement for each of the following operation.
Operation VB statement
Change the background colour of the
TextBox1 to blue.
Make Button2 disappear.
Set the title of the form to
“New Document”
Change the colour of the text in Label1
to yellow.
Move Button1 that Button1 is vertically
aligned with Button2. (Assume that the
heights of both buttons are the same.)
*
For a list of the colours available, search for “System.Drawing.Color” in Google.
18
Chapter 3 Working with Controls
After you write some source code, you should also write some comments in your program.
Comments in Visual Basic start with a single quote ('), which is followed by any text you
want. Please see the following example:
It is easy to understand the program if there are only a few lines of source code. However,
after writing 100 or even 1000 lines of source code, it will very difficult to understand the
logic behind the source code without reading the comments.
Exercise 3
2. Identify the mistakes in the following source code. There is one mistake in each line.
(Note: There are no mistakes with the words Me, Label1, Button1 and TextBox1.)
19
Introduction to Visual Basic - Book 1
Besides working with properties, you need to use events and methods to communicate
with the controls.
4.2 Events
When the user does some action in the form (e.g. click a button), an event is raised or
triggered. You can write a procedure in your Visual Basic program to handle the event, and
that procedure will be executed every time the user does the same action.
In the previous chapters, you have seen something like the following excerpt:
End Sub
The excerpt above is an event procedure, i.e. a procedure that handles an event. When
Button1 is clicked, the event Button1.Click is handled by the procedure Button1_Click, and
the code inside is executed.
20
Chapter 4 Events and Methods
A quick method to add an event procedure is to double click the related control in the
form designer. The following events will be created:
If you want to create other event procedures, then you need to select the list in the source
code view. First, select the control at the left, and then select the event at the right.
Note: To add events to Form1, select “(Form1 Events)” instead of “Form1”.
21
Introduction to Visual Basic - Book 1
The most commonly used events of are Load and Click. Here is a shortlist of events we use
in this course:
We identify an event by connecting the name of the control and the name of the event
using a dot symbol, e.g. Button1.Click, TextBox2.TextChanged, etc.
Events related to the form are prefixed by “Me” or “MyBase”, e.g. MyBase.Load‡,
Me.Click, Me.MouseEnter, etc.
*
Only some types of controls raises DoubleClick events. For details, see
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.doubleclick.aspx
†
TextChanged events are also raised when the form is created, before the Load event is raised. Open
Form1.designer.vb in a text editor to see the reason behind. Careless implementation of TextChanged events
causes runtime errors.
‡
It is okay to use either Me.Load or MyBase.Load
22
Chapter 4 Events and Methods
You can look at the following example for the structure of an event procedure.
End Sub
Part Meaning
Private Sub Declare a procedure
Button1_Click The name of the procedure. The default is the name of the
event, with “.” changed to “_”. You can change this name by
yourself.
(sender As System.Object, Currently unimportant. Usually abbreviated as (…) in this
e As System.EventArgs) book
Handles Button1.Click The event or events to handle. Change this to something like
“Handles Button1.Click, Button2.Click, Button3.Click”
to handle multiple events in the same procedure
End Sub Marks the end of the event procedure
Enrichment
End Sub
End Sub
End Class
23
Enrichment Introduction to Visual Basic - Book 1
4.3 Methods
A method is a procedure that exists inside the control. You invoke methods to do
something with a control. Sometimes it is possible to the same thing using either
properties or methods. For example, the statements “Form2.Visible = True”
(setting a property) and “Form2.Show()” (invoke a method) do the same thing.
24
Enrichment Chapter 4 Events and Methods
Example 4.3.2 Multiple forms (try the buttons and text box yourself)
Form1.vb
Public Class Form1
Form2.vb
Public Class Form2
Write down Visual Basic statements for each of the following operation.
Operation VB statement(s)
Append “Hello!” to TextBox1.
Show Form3 as a modal dialog box.
Show Form2 as a modal dialog box. The
current form is hidden until Form2 is
closed.
25
Introduction to Visual Basic - Book 1
Exercise 4
2. Write a program to tease the user with a button labelled “Click Me”. In this program,
the user cannot press a button because the following happens:
When the mouse is inside the form, the button is disabled. When the mouse is
outside the form, the button is enabled again. To verify that the tease works, you
should also add a Click event for the button, which changes the text of the button to
“Clicked”.
(Note: I would like to replace the words “form” by “button” in the question, but the
program created that way does not work properly. Also, is there any way to raise the
Click event even when the program is correctly implemented?)
26
Chapter 5 Variables, Input and Output
5.1 Variables
In Visual Basic, you use variables to store values. Variables have a name and a data type.
Before you use a variable, you should tell Visual Basic in advance, using the Dim statement:
Determine the correct data type(s) for the following data, and write down a Dim
statement, where the name of the variable is the underlined word.
27
Introduction to Visual Basic - Book 1
Some words have special meanings in Visual Basic, such as Dim, As, Integer, Double,
Boolean, and String. These words are known as keywords, or reserved keywords. The
list of keywords in Visual Basic 2010 can be found in
http://msdn.microsoft.com/en-us/library/dd409611(VS.100).aspx
The name of a variable cannot be any of the Visual Basic is not case sensitive,
reserved keywords. In addition, it must obey the e.g. ScOrE and score are the
same name in Visual Basic .
following rules:
We can assign a value to a variable in the same Dim statement. This is a good practice in
programming because it eliminates potential mistakes.
We can declare several variables in a single Dim statement. However, in Visual Basic, we
cannot assign a value to these variables at the same time.
28
Chapter 5 Variables, Input and Output
We can assign a value to a variable with the equal sign “=”. Once a new value is stored in
the variable, the old value is forgotten. See the example below:
With reference to the programs below, write down the values of the variables after the
execution of each of the statements.
29
Introduction to Visual Basic - Book 1
The variable can be declared inside the Class or inside a Sub procedure. The variable is
only effective inside the Class or Sub structure. Once the given structure finishes
execution, the variable is deleted and its value is forgotten. Here is an example:
If a variable exists both inside and outside the sub, the variable inside the sub is used.
You may also declare variable inside an If…Then…Else statement (see chapter 7) or other
statement blocks. Like the case with Sub procedure, those variables will be forgotten after
the statement block finish execution.
30
Chapter 5 Variables, Input and Output
The following is a program with label Label1 and buttons Button1, Button2 and Button3.
Dim x As Integer = 5
Private Sub Button1_Click(...) Handles Button1.Click
Dim x As Integer
x = 8
Label1.Text = x
End Sub
Now the program is run and the buttons is pressed step by step as follows. Determine the
value of Label1.Text after each step:
31
Introduction to Visual Basic - Book 1
Besides using labels and textboxes, we can use InputBox and MsgBox to handle input and
output. In this part, we only deal with the simplest way to handle input and output. The
details will be discussed in the second term.
5.2.1 InputBox
variablename = InputBox("message")
variablename = Val(InputBox("message"))
*
Starting from this chapter, there may be no Button1 and Button1.Click in the examples. You should create
the button Button1 and the event Button1.Click yourself, and then input the code inside Button1.Click.
32
Chapter 5 Variables, Input and Output
5.2.2 MsgBox
MsgBox("message")
If you want to display a message with more than one line, see the example below. The “&”
character join strings together, and vbCrLf is similar to the “Enter” key in the text editor.
(Note: the example below should be typed in a single line.)
33
Introduction to Visual Basic - Book 1
Exercise 5
1. Rewrite Example 5.2.4 into a program that uses text boxes and labels but not
InputBox and MsgBox.
2. Write a program that uses InputBox to input two numbers when the form is loaded.
The numbers are stored into two variables. Now the user can press one of the four
buttons, that each of the buttons does a basic arithmetic operation (i.e. +, –, × or ÷)*
on the two numbers, and then display the results using an MsgBox.
Note: Do not use any text boxes or labels in this question.
3. Suggest a name and a data type of the variable for each of the following.
*
The “×” symbol can be typed by pressing Alt+0215. It means holding the Alt key and typing 0215 in the
numeric keypad while the Alt key is held. Similarly, “÷” can by typed by pressing Alt-0247.
34
Chapter 6 Operators and Expressions
You can enter expressions in Visual Basic to do calculations. The expressions in Visual Basic
are similar to what you type in your calculator, Casio fx-50FH.
Operators in Visual Basic can be classified into arithmetic operators, (string) concatenation
operators, relational operators and logical operators. The first two types are discussed in
this chapter, while the others are discussed in the next chapter.
Here is a list of the arithmetic operators in Visual Basic 2010. You should get yourself
familiar with the operators “\” and “Mod” before examinations.
35
Introduction to Visual Basic - Book 1
Parentheses (or brackets) are used to force some Do not forget to add a pair of
𝑎
parentheses. E.g. should be
parts of an expression to be evaluated before 𝑏+𝑐
“a/(b+c)” but not “a/b+c”.
others.
( )
Concatenation is the operation joining two strings together. The strings are simply joined
together into a single string. There are two concatenation operators in Visual Basic: “+”
and “&”. The “&” operators is preferred because it is defined for strings only.
36
Chapter 6 Operators and Expressions
11 Exponentiation ^
Lowest ← − − − − − − − − → Highest
†
10 Unary identity and negation + –
9 Multiplication and floating-point division * /
8 Integer division \
7 Modulus arithmetic Mod
6 Addition and subtraction + –
5 String concatenation &
4 Relational/comparison operators = <> < <= > >=
3 Negation Not
2 Conjunction And
1 Inclusive disjunction Or
For operators in the same order of precedence, the calculations are done left-to-right.
VB expression Result
"con" & "cent" & "rated"
4 * 3 & 5 * 2
9 - 25 / 2 * 3
9 - 25 \ 2 * 3
-35 Mod 3 ^ 3
*
The operator precedence table above is only valid of Visual Basic. It is different for Excel.
†
A unary operator has only one expression next to it. e.g. the – sign in – .
37
Introduction to Visual Basic - Book 1
One of the most common operations in a program is to increase and decrease the value of
a variable. See the following example for an idea.
Action VB statement
Increase x by 100
Decrease y by 5
Multiple product by -3
Add "sugar" to the end of the str1
Move the form downwards by 3 pixels
Move the form to the left by 20 pixels
In Chapter 5, you have learnt to use the Val function to convert strings into numbers. We
use the Val function in either of the following ways:
variablename = Val(InputBox("message"))
variablename = Val(TextBox1.Text)
We call Val a function because it returns a value that can be assigned to a variable.
Similarly, InputBox is also a function.
38
Chapter 6 Operators and Expressions
sign).
Math.Sign The sign of the number. Math.Sign(-5) -1
1 = positive, 0 = zero, -1 = negative
Fix Find the integral part of a number. Fix(2.3) 2
(or Math.Truncate) Fix(-2.3) -2
Math.Ceiling Round up to the nearest integer. Math.Ceiling(2.3) 3
Math.Ceiling(-2.3) -2
Math.Round Round off a number to an integer or a Math.Round(12.56) 13
specified number of decimal places. Math.Round(12.56,1) 12.6
(Note: The behavior of this function is a bit different from
what you learn in Mathematics. See MSDN for details.)
( √ )
√ √
39
Introduction to Visual Basic - Book 1
Button1
ButtonMinus10
Private Sub ButtonMinus10_Click(...) Handles
ButtonMinus10.Click
Dim marks As Integer = Val(LabelMark.Text)
marks = marks - 10
LabelMark.Text = marks
End Sub
End Class
40
Chapter 6 Operators and Expressions
Exercise 6
1. Write a program to find the value of the n-th triangle number, i.e. .
3. Rewrite the programs in the previous questions, using InputBox for input and MsgBox
for output.
4. Write a program similar to Example 6.8.2. However, the number in the box should
cycle backwards, i.e. 0, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 9, …
5. Write a program that calculates percentage changes. The program should be able to
find the original value, the new value and the percentage change.
(Hint: What are the formulas?)
6. Write a program with four buttons: up, down, left and right. When you press the
button, the form moves itself by 10 pixels, to the direction indicated by the button.
41
Introduction to Visual Basic - Book 1
A logical expression can give Boolean results, i.e. True or False. A computer can use these
results to make decisions.
Relational operators (or comparison operators) are the equality signs and inequality signs
in Mathematics. If the equality or the inequality is satisfied, then the result is True,
otherwise the result is False. Here is the list of the relational operators:
Comparison VB code
1. Is Peter (PHeight) taller than Mary (MHeight?)
2. Is Linda’s age (LAge) not equal to May’s age (MAge)?
3. The passing mark is 50. Has Gigi (GMark) failed the test?
4. It is free to travel by MTR for a person with height 100 cm
or below. Is it free for Kitty (KHeight) to travel by MTR?
5. Is X an even number?
42
Chapter 7 Flow Control (1)
If condition Then
Statement1
Statement2
...
Else
Statement3
Statement4
...
End If
Sometimes we do not want to execute anything if the condition is false. In this case, we
can skip the keyword Else, i.e.
If condition Then
Statement1
Statement2
...
End If
43
Introduction to Visual Basic - Book 1
Else
No
result = "Fail"
End If
result="Fail" result="Pass"
MsgBox(result)
If you want to have more than two outcomes, you can add additional conditions using the
keyword ElseIf (else and if together in one word).
The spelling of the word ElseIf is
E-L-S-E-I-F, not
If condition1 Then E-L-S-E-L-F!
Statement1
...
ElseIf condition2 Then
Statement2
...
(more ElseIf conditionals if applicable)
Else
Statement3
...
End If
44
Chapter 7 Flow Control (1)
To see how the keyword ElseIf works, see the example below:
Else
No
grade = "D"
Yes
End If marks>=50? grade = "C"
MsgBox("Your grade is: " & grade)
No
Class Work
Marks Grade
≥ 80 “A”
“B”
“C”
“D”
45
Introduction to Visual Basic - Book 1
Here is the official syntax of the If…Then…Else statement. The parts inside [] are optional.
If condition [ Then ]
[ statements ]
[ ElseIf elseifcondition [ Then ]
[ elseifstatements ] ]
[ Else
[ elsestatements ] ]
End If
-or-
If condition Then [ statements ] [ Else [ elsestatements ] ]
When you enter your code into the Visual Basic IDE, it will do the following changes
automatically:
And here is an example of the single line syntax. The symbol “:” is used to separate
multiple statements. (Note: you may use “:” outside the If…Then…Else statement.)
If A > 10 Then A = A + 1 : B = B + A : C = C + B
46
Chapter 7 Flow Control (1)
Exercise 7
1. Write a program that the user will enter the number . If , output
“A big number!” in a label, otherwise output “A small number!”.
2. Write a program that the user will enter the amount of pocket money he/she spends
per week. Then the program will output a message according to the table below:
3. BMI Calculator: The Body Mass Index (BMI) is a method to see if you are overweight
or underweight. Your program should receive two inputs: mass (in kg) and height (in
cm). Calculate the BMI by to the formula . (Be careful with the
unit!!!)
Finally, your program should determine the result according to the following table:
BMI Classification
<18.5 Underweight
18.5 – 23.9 Average
24.0 – 27.9 Overweight
>= 28 Obese
4. Write a program that the user will enter his/her marks in Chinese, English and
Mathematics subjects. Then output the number of subjects that he/she has failed (i.e.
marks less than 50).
47
Introduction to Visual Basic - Book 1
Alphabetical Index
If (keyword) ............................... 43 C++ ......................................... 7
A If...Then...Else (statement) ........ 43 implementation ..................... 5
AppendText (method)............... 24 InputBox.................................... 32 JavaScript ............................... 7
As (keyword) ............................. 27 Integer (data type) .................... 27 Logo ....................................... 6
Integrated Development Pascal ..................................... 6
B
Environment ........................ 11 PHP ........................................ 7
BackColor (property)................. 16
specification ........................... 5
Boolean (data type) .................. 27 K Visual Basic.net ...................... 7
Button (control) ........................ 15 keyword .................................... 28 Properties Window ................... 11
C L property .................................... 16
Class (keyword) ......................... 30 Label (control) ........................... 15 R
Click (event) .............................. 22 Left (property)........................... 16 reserved keywords .................... 28
Close (method) ......................... 24 Load (event) .............................. 22 runtime ..................................... 17
code .......................................... 12
comment................................... 19 M S
compiler ...................................... 5 machine code .............................. 5 Save All ...................................... 10
concatenation ........................... 36 mathematical functions ............ 39 scope of variables ..................... 30
control ................................ 12, 15 Me (keyword)...................... 17, 22 Show (method) ......................... 24
method ..................................... 24 ShowDialog (method) ............... 24
D Microsoft Developer Network .. 14 Single (data type) ...................... 27
data type ............................. 18, 27 Mod (operator) ......................... 35 Solution Explorer ....................... 11
design time ............................... 17 MouseEnter (event) .................. 22 source code ........................... 5, 12
Dim (statement) ........................ 27 MouseLeave (event) ................. 22 String (data type) ...................... 27
Double (data type) .................... 27 MSDN ..... See Microsoft Developer Sub (keyword) ........................... 30
DoubleClick (event) ................... 22 Network
MsgBox ..................................... 33 T
E
MyBase (keyword) .................... 22 Text (property) .......................... 16
Else (keyword) .......................... 43
TextAlign (property) .................. 16
ElseIf (keyword) ........................ 44 N TextChanged (event) ........... 22, 23
Enabled (property) .................... 16 Name (property) ....................... 16 Then (keyword) ......................... 43
event ......................................... 20 New Project ................................ 9 Toolbox ..................................... 11
event procedure ....................... 20
Top (property) ........................... 16
O
F object program ........................... 5
translator .................................... 5
False (keyword) ......................... 27 True (keyword) .......................... 27
Open Project ............................. 13
Font (property) ......................... 16 operator precedence ................ 37 U
ForeColor (property) ................. 16 operators .................................. 35 user interface ............................ 15
form .......................................... 15 arithmetic operators ............ 35
form designer ........................... 11 assignment operators .......... 38 V
concatenation operators ..... 36 Val (function) ...................... 32, 38
G
relational operators ............. 42 variable ..................................... 27
graphical user interface ............ 15
vbCrLf (constant) ....................... 33
GUI .... See graphical user interface P Visible (property) ...................... 16
parentheses .............................. 36
H Visual Basic 2010 Express ............ 8
Paste (method) ......................... 24
Height (property) ...................... 16 W
procedure ................................. 20
Hide (method) ........................... 24
program ...................................... 4 Width (property) ....................... 16
I programming .............................. 4 Windows Form Application ... 9, 15
IDE... See Integrated Development programming language ............... 5
Environment BASIC ..................................... 6
48