Description of Read from and Write to a Text File by Using Visual Basic .NET :
This is an useful .NET article through which you can know about how to read from and write to a text file in Visual Basic.NET. You can do this by using the ReadLine and WriteLine methods of the StreamReader and StreamWriter classes. You must pass the path of the file in the parameter of the corresponding class constructors.