FILE_NAME = "C:\Users\prakash\Desktop\Email.text" If System.IO.File.Exists(FILE_NAME) = True Then Dim objReader As New System.IO.StreamReader(FILE_NAME) Do While objReader.Peek() <> -1 TextLine = TextLine & objReader.ReadLine() & vbNewLine Loop Textbox1.Text = TextLine Else MsgBox("File Does Not Exist") End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)