How does the file access through the File System Object model works in Visual Basic .NET?
Another option available in Visual Basic .NET for accessing and manipulating files is to use the File System Object (FSO) model. This model provides objects and methods for working with files and folders (directories) in an object-oriented way. This model is provided through the Visual Basic Scripting type library (Scrrun.dll). Using the FSO model, you can create or delete files and folders, obtain information about files and folders (such as path information), and perform other manipulations such as copying and moving files and folders. The model also provides a class, TextStream, which allows you to create objects for reading and writing text files. Note that binary file reading and writing is not supported by the FSO model. Using methods and properties of the FileSystemObject, you can also perform activities such as creating temporary file and folder names, check for the existence of a particular file or folder, delete a file or folder, and much more.