Processing Drives, Directories, and Files (Visual Basic)
Updated: July 20, 2015
For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
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
Write functions (although they are still available). The following sections discuss these methods in detail.
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.
Reference documentation for the
My.Computer.FileSystem object and its members.