Depending on what type of file you are using, assuming its a text file or something:
Add a OpenFileDialog to your solution/project from the windows form controls:
VB Code:
Dim str as string
Dim line as string
Me.txtMyTextBox.Text = ""
If Me.OpenFileDialog1.ShowDialog() = DialogResult.OK Then
str = Me.OpenFileDialog1.FileName.ToString
Dim fs as System.IO.FileStream = New System.IO.FileSteam(str, IO.FileMode.Open)
Dim sr as System.IO.StreamReader = New System.IO.StreamReader(fs)
line = sr.ReadToEnd
Me.txtMyTextBox.Text = line
sr.Close()
fs.Close()
End if
You can set parameters in the properties of the open file dialog to limit file types and so forth...
Hope this helps
Regards -