Monday, June 20, 2011

Read a Text File in TextBox

If you want to create a notepad you have to know how to read already written text file. To do this task use the code bellow:

        Dim read As New System.IO.StreamReader("Test.txt")
        TextBox1.Text = read.ReadToEnd

No comments:

Post a Comment

There was an error in this gadget