O'Reilly logo

Special Edition Using Microsoft® Visual Basic® .NET by Jeff Spotts, Brian Siler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Traditional Visual Basic File Functions

Up to this point we have shown how to access the file system using classes provided by the .NET framework. However, there is another group of file-related functions that have been around since early versions of Visual Basic (and in some cases, the original BASIC language). If you work with a lot of existing Visual Basic code, you may run into these traditional file I/O functions. These functions are still supported via a compatibility namespace, although there are some changes to their syntax in Visual Basic .NET. We recommend you use the newer object-oriented classes whenever possible, but if you need to work with existing code you may find this section helpful.

Before using any of these functions, add ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required