If the textbox is not in a panel, you can get the text like this:
Code:
Dim theText as String
  theText = txtbox.Text
  MessageBox.Show(theText)
If the textbox is in a panel, you can get the text like this:
Code:
Dim theText as String
  theText = txtbox.Text
  MessageBox.Show(theText)
Try it, and let us know what happens (including details, such as any error messages you get).