Una idea...
Saludos,
PCID.
Código vb:
Ver originalPublic Class Form1
Private nTextBoxes As Integer = 0
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
addTextBox("txt1")
addTextBox("txt2")
addTextBox("txt3")
addTextBox("txt4")
End Sub
Private Sub addTextBox(ByVal name As String)
Dim txt As TextBox = New TextBox()
txt.Parent = Me
txt.Name = name
txt.Left = 10
txt.Top = (txt.Height * nTextBoxes) + (10 * (nTextBoxes + 1))
nTextBoxes = nTextBoxes + 1
End Sub
End Class