Chapter 7. Using Loops and Timers

After completing this chapter, you will be able to:

  • Use a For...Next loop to execute statements a set number of times.

  • Display output in a multiline text box by using string concatenation.

  • Use a Do loop to execute statements until a specific condition is met.

  • Use the Timer control to execute code at specific times.

  • Create your own digital clock and timed password utility.

  • Use the new Insert Snippet command to insert ready-made code templates or snippets into the Code Editor.

In Chapter 6, you learned how to use the If...Then and Select Case decision structures to choose which statements to execute in a program. You also learned how to process user input and evaluate different conditions in a program, and how to determine ...

Get Microsoft® Visual Basic® 2005 Step by Step, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.