Processing Drives, Directories, and Files
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.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.
Related Sections
Program Structure and Code Conventions
Provides guidelines for the physical structure and appearance of programs.My.Computer.FileSystem Object
Reference documentation for the My.Computer.FileSystem object and its members.File I/O in the .NET Framework with Visual Basic
Provides an overview of file I/O with the .NET Framework.