VB.NET:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.ListBox1 = New System.Windows.Forms.ListBox
ListBox1.Items.Add("in button routine")
End Sub
I know that my listbox1 is in a different thread. That's why I created a new instance. That still did not work. How do I use listbox, textbox, etc from a subroutine?