I need to be able to create a textbox on Form1 from a click event on Form2. Further it has to go on the active tab of a tabcontrol in Form 1. I am using VB.Net 2003. I do not understand how to do this. I tried to do it to keep it simple at first and have it appear just on Form2 (the active form) but it does not work. I am lost. Please help.
What I have:
TabControl1 (this is the destination of the textbox)
Dim tb As Object
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim tabAttLbl As Label
tabAttLbl.Size = New Size(48, 16)
tabAttLbl.Location = New Point(8, 8)
tabAttLbl.Text = txtName.Text
How do I get this to work?