Visual Basic 2010
Get free Visual basic 2010 source codes. Learn Visual Basic 2010 using this website.
Pages
(Move to ...)
Home
About
▼
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
read.Close()
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment