Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21361

How to make a loop?

$
0
0
Hello,

There is a Listbox that some URL's are listed in it.I want to make a loop for the Listbox that:
1) Gets the first URL of the list and connects to it using inet.
2) After loading the webpage's source content (Into a Textbox or variable), the first URL in the list is removed and the loop starts again.

I don't have problem with loading the webpage source code or how to get the text of the first item in a Listbox!
I just don't know how to make a loop that goes to the step 1, after the process of getting webpage source code is finished.

Thanks in advance

Viewing all articles
Browse latest Browse all 21361

Trending Articles