Read a Text Files Contents Using System.IO Objects in VB.NET

Category:
C#, VB.NET, ASP.NET
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic.NET

More information:
This simple demo illustrates how to read a text file in VB.NET using the FileStream and StreamReader objects from the VB.NET System.IO library.

Originally developed for beta versions, verified to work on VB.NET Verson 1.0, 04/02/02.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download filereadvbnet.zip