Murach's Visual Basic 2008 How to work with files and data streams
Although databases are commonly used in Visual Basic applications,
you may also need to access data that's stored in a text file
or a binary file. So this chapter shows you how to read and
write both types of files. It also shows you how to use one
of the My objects to work with files.
|
|
|
|
The classes for managing directories,
files, and paths |
658 |
|
How files and streams work |
660 |
|
How to use the FileStream class |
662 |
|
How to use the exception classes for
file I/O |
664 |
|
|
How to write a text file |
666 |
|
How to read a text file |
668 |
|
A class that works with a text file |
670 |
|
|
How to write a binary file |
672 |
|
How to read a binary file |
674 |
|
A class that works with a binary file |
676 |
|
|
Use the My.Computer.FileSystem
object |
678 |
|
Use the Visual Basic functions |
678 |
|
 |
|
|
|
|
© Copyright 1998-2008 Mike Murach &
Associates, Inc. All rights reserved.
|