Here's an example of creating a form from scratch and adding a textbox to the form
Dim frm As New Form
frm.Name = "frmCreated"
frm.Text = "Created Form"
Dim tb As New TextBox
tb.Name = "tbTest"
frm.Controls.Add(tb)
frm.Show()
Of course you can set other properties of the form and textbox such as size, location, borderstyle, etc.