Microsoft Visual Basic 2010 Step by Step eBook
Chapter 8 Debugging Visual Basic Programs 213 If the form isn’t visible, display it now. The Debug Test program prompts the us ...
214 Part II Programming Fundamentals The breakpoint immediately appears in red. See the following screen shot for the breakpoint ...
Chapter 8 Debugging Visual Basic Programs 215 Note You can also enter debugging mode in a Visual Basic program by placing the St ...
216 Part II Programming Fundamentals Note If you add more than a few DataTips to your program code, be sure to use the Clear All ...
Chapter 8 Debugging Visual Basic Programs 217 Click the Step Into button twice more. The If statement evaluates the conditiona ...
218 Part II Programming Fundamentals open up to four Watch windows, numbered Watch 1, Watch 2, Watch 3, and Watch 4. If you are ...
Chapter 8 Debugging Visual Basic Programs 219 Select the expression Age < 20, and then add it to the Watch window. Age < ...
220 Part II Programming Fundamentals Visualizers: Debugging Tools That Display Data Although you can use the DataTip, Watch, Aut ...
Chapter 8 Debugging Visual Basic Programs 221 Select the Text Visualizer option. Visual Studio opens a dialog box and displays ...
222 Part II Programming Fundamentals The following exercises demonstrate how the Immediate and Command windows work. I discuss t ...
Chapter 8 Debugging Visual Basic Programs 223 The Watch window looks like this: As you can see, both items now contain new value ...
224 Part II Programming Fundamentals Tip Visual Basic 2010 Express does not include the Command window. (If you’re using the Exp ...
Chapter 8 Debugging Visual Basic Programs 225 Remove a breakpoint In the Code Editor, click the red circle associated with the ...
226 Part II Programming Fundamentals To Do This Display a Watch window In debugging mode, click the Debug menu, point to Windows ...
227 Chapter 9 Trapping Errors by Using Structured Error Handling After completing this chapter, you will be able to: n Manage ru ...
228 Part II Programming Fundamentals in Chapter 8. It’s not that Visual Basic isn’t smart enough to handle the glitch; it’s just ...
Chapter 9 Trapping Errors by Using Structured Error Handling 229 Problem Description Permissions problems User permissions that ...
230 Part II Programming Fundamentals Tip You’ll find the Fileopen .bmp file, along with the Disc Drive Error project, in the C:\ ...
Chapter 9 Trapping Errors by Using Structured Error Handling 231 For example, a floppy disc drive typically requires the letter ...
232 Part II Programming Fundamentals The SizeMode property of the picture box object is set to StretchImage, so the file fills t ...
«
8
9
10
11
12
13
14
15
16
17
»
Free download pdf