Working with the File System
You have now seen reading and writing with files, but Visual Basic .NET (through the .NET Framework classes) provides a large set of useful file operations outside of the stream classes. This section looks at how to find, create, and delete directories and files.
As I briefly discussed in Chapter 2, “Visual Basic .NET Language Changes,” the .NET Framework is divided into a series of namespaces and each of the namespaces contains a number of related classes. The file and directory (and stream) classes are bundled into the System.IO namespace. The System.IO namespace is, as you might gather from the name, all about input and output. The System.IO namespace is one of the most heavily used namespaces in the .NET Framework ...
Get Microsoft® Visual Basic® .NET 2003 Kick Start now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.