Search Tools Links Login

File Read-Write Class


It's a simple VB Class that can be used to write to or read from a sequential file.

You can create a new file, or can add text to an existing file using the WriteToFile method. the WriteMode Property determines whether to add or create a new file. The ReadFromFile method returns the text of the file, also sets the FileText property of text array with each line of File Text.

A sample test form is included with the project. Trying with its properties and methods will give you a better understanding.

About this post

Posted: 2019-09-06
By: Pallab
Viewed: 243 times

Categories

Visual Basic 6

Attachments

PCCFile.zip
Posted: 9/6/2019 7:51:32 AM
Size: 5,200 bytes

Special Instructions

This code originally appeared on AndreaVB.com, and has been republished here with the permission of Andrea Tincani.


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.