Microsoft Visual Basic 2010 Step by Step eBook
Chapter 5 Visual Basic Variables and Formulas, and the .NET Framework 133 What Is a Function? InputBox is a special Visual Basic ...
134 Part II Programming Fundamentals Note Visual Studio provides both the MsgBox function and the MessageBox class for displayin ...
Chapter 5 Visual Basic Variables and Formulas, and the .NET Framework 135 Click the Start Debugging button on the Standard tool ...
136 Part II Programming Fundamentals TABLE 5-1 Fundamental Data Types in Visual Basic Data Type Size Range Sample Usage Short 16 ...
Chapter 5 Visual Basic Variables and Formulas, and the .NET Framework 137 Use fundamental data types in code On the File menu, ...
138 Part II Programming Fundamentals Click the Date type in the list box. The date 3/1/1963 appears in the Sample Data box. C ...
Chapter 5 Visual Basic Variables and Formulas, and the .NET Framework 139 Scroll to the top of the Code Editor to see the dozen ...
140 Part II Programming Fundamentals The ListBox1_SelectedIndexChanged event procedure processes the selections you make in the ...
Chapter 5 Visual Basic Variables and Formulas, and the .NET Framework 141 values to variables that are outside their accepted ra ...
142 Part II Programming Fundamentals Constants: Variables That Don’t Change If a variable in your program contains a value that ...
Chapter 5 Visual Basic Variables and Formulas, and the .NET Framework 143 Click the Start Debugging button on the Standard tool ...
144 Part II Programming Fundamentals Basic Math: The +, –, *, and / Operators The operators for addition, subtraction, multiplic ...
Chapter 5 Visual Basic Variables and Formulas, and the .NET Framework 145 Practice using the subtraction, multiplication, and d ...
146 Part II Programming Fundamentals Your screen looks similar to this: The first two statements in the event procedure transfer ...
Chapter 5 Visual Basic Variables and Formulas, and the .NET Framework 147 property is False, the button has not been selected. A ...
148 Part II Programming Fundamentals The Advanced Math form opens in the Designer. The Advanced Math program is identical to the ...
Chapter 5 Visual Basic Variables and Formulas, and the .NET Framework 149 Click the Exponentiation radio button, and then click ...
150 Part II Programming Fundamentals This type of error is called a run-time error—an error that surfaces not during the design ...
Chapter 5 Visual Basic Variables and Formulas, and the .NET Framework 151 If RadioButton2.Checked = True Then TextBox3.Text = Fi ...
152 Part II Programming Fundamentals Tip Run-time errors are difficult to avoid completely—even the most sophisticated applicati ...
«
4
5
6
7
8
9
10
11
12
13
»
Free download pdf