Results 1 to 14 of 14

Thread: iteration problem[resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2004
    Location
    in the heart of the Mediterranean
    Posts
    1,143

    iteration problem[resolved]

    hey why cant I loop through ?? How can I correct it?? I get these 3 errors

    End of statement expected.
    Name 'check' is not declared.
    Name 'pic' is not declared.



    check1 ....5 are declared as booean

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
    Dim i As Integer
    For i = 1 To 5
    If check(i) = False Then
    pic(i)a.Image = ImageList1.Images(2)
    End If
    Next
    End Sub
    Last edited by angelica; Nov 17th, 2006 at 09:15 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width