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.
Download LineIndex Class (18 KB)