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 ...
Get Visual Basic. NET by Pearson 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.