add a control to a form programatically .net vb code example Example: add control vb Me.Controls.Add(MyTextbox)