Reading from Files in Visual Basic
This section lists tasks associated with reading from files.
In This Section
How to: Read From Text Files in Visual Basic
Demonstrates how to read from a text file.How to: Read From Comma-Delimited Text Files in Visual Basic
Demonstrates how to read from a delimited text file.How to: Read From Fixed-width Text Files in Visual Basic
Demonstrates how to read from a fixed-width text file.How to: Read From Text Files with Multiple Formats in Visual Basic
Demonstrates how to read from a text file with multiple formats.How to: Read From Binary Files in Visual Basic
Demonstrates how to read from a binary file.How to: Read From Existing Text Files in My Documents (Visual Basic)
Demonstrates how to read from a text file in the My Documents directory.How to: Read Text from Files with a StreamReader (Visual Basic)
Demonstrates how to use a StreamReader to read from a file.
Reference
FileSystem
Describes the My.Computer.FileSystem object and its members.ReadAllText
Describes the ReadAllText method.ReadAllBytes
Describes the ReadAllBytes method.OpenTextFieldParser
Describes the OpenTextFieldParser method.OpenTextFileReader
Describes the OpenTextFileReader method.
Related Sections
How to: Read from the Clipboard in Visual Basic
Demonstrates how to read data from the Clipboard.Parsing Text Files with the TextFieldParser Object (Visual Basic)
Provides an overview of reading text files with the TextFieldParser object.Walkthrough: Manipulating Files and Directories in Visual Basic
Demonstrates how to use the My feature with files and directories.Walkthrough: Manipulating Files by Using .NET Framework Methods (Visual Basic)
Demonstrates how to use .NET Framework methods with files and directories.