VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



LineIndex Class

by Martijn B (7 Submissions)
Category: VB function enhancement
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

Ever needed to read the 23553th Line from a 5MB file? This class will do that, *without* storing the file in an array! Very fast binary file access to read one or more line(s) by *line number*. Now you can read files page by page - backward.

Assumes
The class works with ansi text files.
Side Effects
The demo project creates (and deletes) a 6MB test file.

Rate LineIndex Class

Download LineIndex Class

Download LineIndex Class (18 KB)

LineIndex Class Comments

No comments have been posted about LineIndex Class. Why not be the first to post a comment about LineIndex Class.

Post your comment

Subject:
Message:
0/1000 characters