Date: Tue, 20 Sep 2005 07:26:37 -0500 (CDT) From: Mark Jacobson To: 810-030-01@uni.edu Subject: [810-030-01] For Next loop is COMMENTED OUT is assignment #2... Hi 030 VB students, For i = 1 To txtNumber.Text drawRandomCircle Next i is NOT part of your program. If you look carefully on the web page color version of the code, or at your handout, you will see that a single quote precedes each and every one of the THREE lines of For Next loop code. ' For i = 1 To txtNumber.Text <------------------ COMMENTED OUT!!! ' drawRandomCircle ' Next i The ' character is VIP to have! - That means the FOR NEXT loop is ignored, and is NOT THERE to Visual Basic when you run the program. Feel free to LEAVE THE THREE LINES OUT, or to have them but then be sure to have the ' characters to COMMENT THE LINES so they are IGNORED. I have had several students encounter this problem and wonder why they get 100 circles immediately, and then get 100 circles over a period of several seconds as the Timer produces them one by one. If you do not comment the For Next THREE lines of code out or remove them from the program, you will be twice as many circles as desired, and the first group of them will seem to show up simultaneously... Mark