Well, if it's in your program can't you just use the normal VB syntax?
VB Code:
  1. MsgBox txtMyTextBox.Text