Files & Folders

FILES AND FOLDERS

1. File Locations

Using the standard folders provided by the .Net framework can eliminate user access issues.

2. Reading / Writing text files

.Net makes it easy to read and write text files.  All the hard work is done in the background, and the necessary processes are exposed as methods in the My.Computer.FileSystem namespace.

3. Random Access

Visual Basic .Net allows random access to files using the StreamReader class.  The file pointer can be set as required, and data can be read or written as a stream of bytes or as a nominated variable type.


Advertisements
  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s