In answer to your other question, there is an example here of how to access the control from off the UI thread exactly as you need.
You seem to have used this, but I notice a crucuial parameter missing from this line?Code:Private Delegate Sub SetTextBoxText(ByVal text As String) Private Sub SetTextBoxText(ByVal text As String) If Me.TextBox1.InvokeRequired Then Me.TextBox1.Invoke(New SetTextBoxTextInvoker(AddressOf SetTextBoxText), _ text) Else Me.TextBox1.Text = text End If End Sub
Code:Me.lstChanges.Invoke(New addChangedDataToChangedListboxInvoker(AddressOf addChangedDataToChangedListbox))




Reply With Quote