Visual Basic 2010
Get free Visual basic 2010 source codes. Learn Visual Basic 2010 using this website.
Pages
Home
About
Total Pageviews
Add This
My Links
Click Here For More FREE Visual Basic 2010 Tutorials
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment