File System Class

Category:
Files and Directories
Type:
Classes
Difficulty:
Intermediate
Author:
Girish Chandra

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This is a small class written entirely in VB to create and read files like in C. I am primarily a developer using Clipper, C and assembler so I find this to be the most natural way to access files.

Comments by FreeVBCode.Com: This is a useful and fast utility because it provides lots of functionality without relying on the File System Object. It has many methods, such as create, open, seek, read, readline, position, exists, (reflecting the current position of the cursor within the file) and more. Though it is not documented except for some comments, the naming of each function, parameter, and return value make it very easy to use.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download clsfilesystem.zip