1. Home
  2. Computing & Technology
  3. Visual Basic

Chapter 7 - Using Loops and Timers - Part 2

By , About.com Guide

3 of 4

A Code Writing Challenge Instructions - Continued

Never fear! Assuming you're using Debug mode in Visual Studio .NET (this is what you should be using), simply click the Debug menu item and then select Stop Debugging. Your program will halt again!

(In a production program, you can open the Windows Task Manager and cancel the looping program.)

With that key information in mind (If you accept my challenge below, you're gonna need it!) -- here's a challenge: Code the most subtle infinite loop that you can think of and post the code in the About Visual Basic Forum! Please send an email to visualbasic@about.com if you code an entry so I don't overlook it. Periodically (that is, whenever I get the time), I'll look over the examples and if you code something really subtle and clever, I'll send you a free technical book! Extra points are given for:

  • short programs (anyone can code something so long and detailed that it's hard to debug)
  • programs where the infinite loop is hidden and can't be found
  • programs that use common, ordinary VB.NET features rather than obscure ones

All entries are public and the decisions of the Guide (that's me) are final!

Explore Visual Basic
By Category
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Visual Basic
  4. Learn VB.NET
  5. Using Loops and Timers - Part 2

©2009 About.com, a part of The New York Times Company.

All rights reserved.