You are here:About>Computing & Technology>Visual Basic> Learn VB.NET> Using Loops and Timers - Part 2
About.comVisual Basic
Newsletters & RSSEmail to a friendSubmit to Digg

Chapter 7 - Using Loops and Timers - Part 2

From Dan Mabbutt,
Your Guide to Visual Basic.
FREE Newsletter. Sign Up Now!

Use What We Have Learned: Timer and RadioButton

Time Zone Clock
Time Zone Clock
Previous | Next >>

Use controls we have learned in the same program

Although it's only distantly related to looping, the section at the end of Chapter 7 on Timers is excellent and I particularly recommend completing the My Timed Password program.

After you experiment with these examples, you should be able to use both the timer and RadioButton control that we learned about in the Online Shopper program from Chapter 3 to code a program that will display the correct time for different time zones. The illustration at the bottom shows what the program should look like.

For the next lesson, Code This Program!!!
(Hint: There's a subtle problem that you might not think of the first time.)

  1. Use What We Have Learned: Timer and RadioButton
  2. Beyond The Book: Infinite Loops - A Code Writing Challenge!)
  3. A Code Writing Challenge Instructions - Continued
  4. My Answer - Assignment from the previous lesson

Previous | Next >>

 All Topics | Email Article | | |
Advertising Info | News & Events | Work at About | SiteMap | Reprints | HelpOur Story | Be a Guide
User Agreement | Ethics Policy | Patent Info. | Privacy Policy©2008 About, Inc., A part of The New York Times Company. All rights reserved.