Yes I found a way to do it.
Sorry for not posting it before..
Private Function GetNextLineReversed(ByVal lngStartPos As Long) As String
************************************************************************
** GET NEXT LINE REVERSED...
Thanks for replying anyways Nerseus :)
Ive used the seek method to put the pointer at EOF and then step back 2 bytes with offset -2, that gets me to the last character of the last line with text(the very last is a crlf).
Then i tried something like this:
dim buffer(1) as char
dim temp as...
Hello,
Im trying to find out how to read a text file backwards.
I want like a ReadLastLine() method of some kind, and then be able to step though the lines backwards.
I have some very large logfiles(2GB+) that I need to parse over time when new lines are added to those files.
Anyone got any...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.