Results 1 to 12 of 12

Thread: Looping through listboxes[Resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Inuyasha1782's Avatar
    Join Date
    May 2005
    Location
    California, USA
    Posts
    1,035

    Resolved Looping through listboxes[Resolved]

    Basicly I am taking one item from one listbox and matching it with all the other items in the second listbox. Here is what it looks like:

    VB Code:
    1. Dim Check As Boolean
    2. For X = 0 To List1.ListCount - 1
    3. Check = PortCheck(List2.List(0), List1.List(X))
    4. If Check = False Then
    5. Status.Caption = "Moving on..."
    6. End If
    7. Next X

    Now, that will go through the portcheck with each item in the second listbox. Now here is what I am having trouble figuring out how to do. Once the second listbox has ran out of items to check with, I want the first item in the first listbox to move down one, then repeat the same loop as shown above. So basicly I just need to put the above loop in a bigger loop, but I really can't figure out how >_< Any help would be nice
    Last edited by Inuyasha1782; Aug 10th, 2005 at 11:14 PM.
    Age - 15 ::: Level - Advanced
    If you find my post useful please ::Rate It::


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