Hi
I am trying to execute this code as part of a backgroundworker thread:
Code:For Each stockedItem As String In lstStock.Items For Each toBuyItem As String In lstBuy.Items If stockedItem.ToLower = toBuyItem.ToLower Then 'my code here End If Next Next
But it is throwing an exception (on the bold/underlined line) saying that "The list this enumerator has been bound to has been modified"..
can anyone help me solve this problem because i'm not sure what to do..
thanks![]()




Reply With Quote