Results 1 to 30 of 30

Thread: Getting out of a running loop[Resolved]

Threaded View

  1. #1

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

    Resolved Getting out of a running loop[Resolved]

    Well here is my current loop:

    VB Code:
    1. Dim Check As Boolean
    2. For X = 0 To List1.ListCount - 1
    3. For i = 0 To List2.ListCount - 1
    4. user.Caption = List2.List(i)
    5. pass.Caption = List1.List(X)
    6. Check = LoginCheck(List2.List(i), List1.List(X))
    7. If Check = False Then
    8. Status.Caption = "Getting next user"
    9. End If
    10. Next i
    11. Next X

    It's length in time can be anywhere from 5 seconds to an hour, so it's neccesary to have one. Anyways, how would I exit this loop via a command button while it's running? I can't really think of a way to notify it to exit the loop. Any suggestions/ideas?
    Last edited by Inuyasha1782; Aug 11th, 2005 at 04:19 AM.
    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