Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim box As New TextBox
box.Location = New Point(10, 5)
box.Size = New Size(100, 20)
box.Name = "TextBox1"
box.Text = "nobugz waz here"
Me.Controls.Add(box)
End Sub
Add or modify properties as necessary to get the TextBox the way you want it...
This forum is intended to support Visual Basic.NET users. For suggested forums for VB6 questions, please see http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=551512&SiteID=1
Best regards,
Johan Stenberg