This section explains how to perform tasks that are 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 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
- Storing Data to and Reading from the Clipboard (Visual Basic) 
 Explains how to perform tasks that are associated with My.Computer.Clipboard, such as reading data from or writing data to 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.