Posts: 4
Threads: 1
Joined: May 2011
Reputation:
0
hi i want code for Multidownload files from listbox or listview
when the 1 file are downloaded the 2 file will be downloaded too
thanks in advence and sorry for my bad english
Posts: 5,793
Threads: 268
Joined: Sep 2010
Reputation:
85
downloaded in sequence or all at the same time?
Posts: 3,538
Threads: 348
Joined: Mar 2010
Reputation:
57
I recommend downloading the file through using WebClient. Loop through each item in the listbox, and then run the WebClient download.
Posts: 5,793
Threads: 268
Joined: Sep 2010
Reputation:
85
08-29-2011, 01:43 PM
(This post was last modified: 08-29-2011, 01:44 PM by AceInfinity.)
I would recommend a listview, people only use listboxes because it's easier, but listview controls can handle more data, and you don't need to click on it to see the full list of added items depending on the size properties... Some people would even go to use a combobox. If you're dealing with even larger data, then you would use a datagridview control.
Posts: 4
Threads: 1
Joined: May 2011
Reputation:
0
Hi and thx for reply ACE yes i wannt to do this in same time
Fragma i don't understand how i can use webclient can you give me idea of code how i can use
thanks again
Posts: 5,793
Threads: 268
Joined: Sep 2010
Reputation:
85
There's lots of documentation on MSDN, go take a look. I don't provide code all the time for leechers, you have to learn partly for yourself. If you know how to multi-thread on top of that, then you combine the two and you have a multi-file downloader