Microsoft Visual Basic 2010 Step by Step eBook
Chapter 7 Using Loops and Timers 193 Note The previous code samples asked the user to type Done to quit. Note that the test of t ...
194 Part II Programming Fundamentals The new project is created, and a blank form opens in the Designer. This time, you’ll place ...
Chapter 7 Using Loops and Timers 195 entering no value returns an empty string (“”). The loop checks for the empty string by usi ...
196 Part II Programming Fundamentals Click OK. Then type 72 in the input box, and click OK again. The temperature 72 degrees F ...
Chapter 7 Using Loops and Timers 197 Creating a Digital Clock by Using a Timer Control One of the most straightforward uses for ...
198 Part II Programming Fundamentals Recall from Chapter 4, “Working with Menus, Toolbars, and Dialog Boxes,” that certain Visua ...
Chapter 7 Using Loops and Timers 199 as the time, use the System.DateTime.Now property instead of the TimeString property .) Onl ...
200 Part II Programming Fundamentals Using a Timer Object to Set a Time Limit Another interesting use of a timer object is to se ...
Chapter 7 Using Loops and Timers 201 True starts the timer running when the program starts. (If the timer wasn’t needed until la ...
202 Part II Programming Fundamentals Test the Timed Password program Tip The complete Timed Password program is available in the ...
Chapter 7 Using Loops and Timers 203 Run the program again, type secret (the correct password) in the text box, and then click ...
204 Part II Programming Fundamentals Create a new button object in the middle of the form, and set the Text property of the but ...
Chapter 7 Using Loops and Timers 205 Scroll down in the list box, and then double-click the Windows System - Logging, Processes ...
206 Part II Programming Fundamentals Windows has the ability to be updated automatically over the Web each time a new security u ...
Chapter 7 Using Loops and Timers 207 You’ve learned a handy skill that will allow you to insert a variety of useful code templat ...
208 Part II Programming Fundamentals To Do This Loop until a specific condition is True Use a Do loop with the Until keyword. Fo ...
209 Chapter 8 Debugging Visual Basic Programs After completing this chapter, you will be able to: n Identify different types of ...
210 Part II Programming Fundamentals you’ve used? The Visual Studio Integrated Development Environment (IDE) contains several to ...
Chapter 8 Debugging Visual Basic Programs 211 Tip By default, a green jagged line indicates a warning, a red jagged line indicat ...
212 Part II Programming Fundamentals Debugging 101: Using Debugging Mode One way to identify a logic error is to execute your pr ...
«
7
8
9
10
11
12
13
14
15
16
»
Free download pdf