08-31-2011, 01:22 PM
(08-31-2011, 12:50 PM)Fragma Wrote: Google some of the stuff me & Ace have mentioned and you'll find what you're looking for. I could give you the source but you wouldn't learn anything from it. Better you have a little look around yourself, and understand exactly what it is that you're going to be doing.
If you're going to use a ListBox, you'll need to use "For, Each.. Next" in order to loop through your items.
For example...
For each string in your ListBox...
Download the file...
Next, will run the download function for every file in your ListBox.
Once you know how to run a basic loop through your listbox, move onto finding out how to download each file using WebClient.
http://msdn.microsoft.com/en-us/library/5ebk1751.aspx
http://msdn.microsoft.com/en-us/library/...lient.aspx
You could use more than that for the loop, although for each is probably what I would go for.
You could do while i <> "listbox items count>" -1 ' to reference index 0 as an item. And dim i as an integer of 0 to start adding one each time.