Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

vb.net thread iteration

Name: Anonymous 2010-04-27 9:17

hey/prog/,

i've been using vb.net for about 2-3 years now but i never had to use a method to add a thread when the user requests it.

basically, i have some kind of download manager. the url's are added into a datagridview when a link is found in the clipboard and then when you want it to, it starts downloading all the added links (on a single, separate thread next to the GUI).

how would i create a thread for every row in the datagridview?

pseudo code would look like this:


for i as integer = 0 to datagridview.rows.count
   dim thread(i) as new threading.thread
next

and then the thread(i) would do something like.. download_file(datagridview.rows.cells(0).value)


this has been giving me a headache for a while already :/

Name: Anonymous 2010-04-27 10:10

vb.net

now you have two problems!

Name: Anonymous 2010-04-27 10:27

>>2
Misapplied.

Name: Anonymous 2011-02-18 20:05

Name: !ciZ3lpIikw 2011-12-12 7:06


Don't change these.
Name: Email:
Entire Thread Thread List