TextBox in VB.NET
A TextBox control accepts user input on a Form. In this article, I will discuss how to create a TextBox control in Windows Forms at design-time as well as run-time. After that, I will continue discussing various properties and methods available for the TextBox control.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: TextBox in VB.NET

ko mreditedPosted Sep 13, 2011, 6:51 AM EDTEdited Sep 13, 2011, 6:52 AM EDT
Hi! How interesting article is for me, a very beginner in vb.net! I wish to know how I can retrieve the values that I input in those dynamically created textboxes. The code please!
Dragan MilutinovichPosted Aug 5, 2010, 3:13 AM EDT
hi mahesh, could you please tell me how can I Implement a find button that searches for a word in textbox and does it for the whole text rather than just the first instance that does in mine ? here is what I have Private Sub findButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles findButton.Click Dim startPos As Integer startPos = MainForm.TextBox.Text.IndexOf(TextBox1.Text) ', type) If startPos = 2 Then MainForm.TextBox.Focus() End If If startPos < 0 Then MessageBox.Show("The String '" + TextBox1.Text + _ "' could not be found", "Text Not Found", MessageBoxButtons.OK, MessageBoxIcon.Asterisk) Return End If MainForm.TextBox.Select(startPos, TextBox1.Text.Length) MainForm.TextBox.ScrollToCaret() End Sub