Processing Drives, Directories, and Files (Visual Basic)

You can use Visual Basic to process drives, folders, and files with the My.Computer.FileSystem object, which provides better performance and is easier to use than traditional methods such as the FileOpen and Write functions (although they are still available). The following sections discuss these methods in detail.

In This Section

File Access with Visual Basic
Discusses how to use the My.Computer.FileSystem object to work with files, drives, and folders.

Basics of .NET Framework File I/O and the File System (Visual Basic)
Provides an overview of file I/O concepts in the .NET Framework, including streams, isolated storage, file events, file attributes, and file access.

Walkthrough: Manipulating Files by Using .NET Framework Methods
Demonstrates how to use the .NET Framework to manipulate files and folders.

Walkthrough: Manipulating Files and Directories in Visual Basic
Demonstrates how to use the My.Computer.FileSystem object to manipulate files and folders.

Program Structure and Code Conventions
Provides guidelines for the physical structure and appearance of programs.

FileSystem
Reference documentation for the My.Computer.FileSystem object and its members.