CodeJunky
asked on
vb.net BackgroundWorker and updating Listview
Hi all,
I trying to run a thread/Threads that call a procedure and get values from a ListViewItem and update that ListViewitem. If I place a messagebox in calling the ListviewItem's subitem values I get data back; but It does not return data to the ListViewItem.
So basically I have my Backgroundworker thread called and within it a Procedure that passes in the ListviewItem. No Errors; just not updating the ListviewItems properties.
I created the
Public Class ArgumentType
Public _li As ListViewItem
End Class
and pass in the listviewitem. As I said I can show, in message box every property; but when I try to update one or more subitems values, or the image nothing happens.
Any ideas?
I trying to run a thread/Threads that call a procedure and get values from a ListViewItem and update that ListViewitem. If I place a messagebox in calling the ListviewItem's subitem values I get data back; but It does not return data to the ListViewItem.
So basically I have my Backgroundworker thread called and within it a Procedure that passes in the ListviewItem. No Errors; just not updating the ListviewItems properties.
I created the
Public Class ArgumentType
Public _li As ListViewItem
End Class
and pass in the listviewitem. As I said I can show, in message box every property; but when I try to update one or more subitems values, or the image nothing happens.
Any ideas?
Without seeing the code we would not have any idea, please show the code so that we can see what is going on.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.