Thread Index

Dec 13, 2012 at 4:56 PM

How can i populate a listview from a smartpool thread ? I can already access the listview using invoke but i'm having issues with synchronising the thread with a list view Item.


Initialize Smartthread with 25 threads.

Populate ListView with 25 Items.


Ideally what i would like is to have each item in the listview linked with a specific thread

i'e in the code i would use :

listView1.Items[<Smartthreadpool.index>].SubItems[1].Text = "blah";

I tried using managedThreadID bu that didn't work