I am using the following code:
However, the aplication crashes when I use it. What is the problem?
Code:
Dim rdBfr As New System.IO.StreamReader(dlgO.FileName)
Do While rdBfr.Read()
txtOriginal.Text = txtOriginal.Text & rdBfr.ReadLine()
Loop
rdBfr.Close()
However, the aplication crashes when I use it. What is the problem?