Read a Text File - Visual Basic .NET

Tags: VB.NET, VB 2008, VB 2010, VB 2012, VB 2013

The following code is used a read the content of a text file on your system in a textbox
The text from the text file will be displayed in TextBox1

TextBox1.Text = My.Computer.FileSystem.ReadAllText("C:\your path\file.txt")


Share This

Home | About | Contact | Privacy Policy

Copyright visual-basic-tutorials.com 2017 - All Rights Reserved.