O'Reilly logo

Microsoft® Visual Basic® 2005 Step by Step, 3rd Edition by Michael Halvorson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required