Try this
string fileText = string.Empty;
using (StreamReader sr = new StreamReader("YoufilePathHere"))
{
fileText = sr.ReadToEnd();
}
in
VB
Dim fileText As String = String.Empty
Using sr As New StreamReader("YoufilePathHere")
fileText = sr.ReadToEnd()
End Using