O'Reilly logo

Visual Basic .NET by Shirish Chavan

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

Chapter 13

Working with Files

After reading this chapter, you will be able to distinguish between the binary, sequential, and random modes of opening files, to manipulate files and folders, to use the Directory class and File class, to open and close files, to create new files, to read the contents of files, to write to files, to modify the contents of files, to create mini database using random mode files, and to delete files using the classes and functions.

13.1 INTRODUCTION TO FILES

What is a file?

 

Note:

 

A file is a collection of data that is named and saved on the secondary storage (like disk or tape). Contents of file can be retrieved and modified as per requirement.

All data that is loaded in the primary or secondary memory of a ...

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