text files & strings
- From: "Dave B" <davidbarbetta@xxxxxxxxxxx>
- Date: Wed, 19 Oct 2005 17:45:38 -0400
I'm trying to pick tables out of a group of text files. I wrote code that
would load the text file into a string, use InStr to find the location of
each <TABLE and </TABLE>, then use Mid to pick the data out. It works great
.... except with larger files (>3MB) I get an out of memory error. How can I
go through larger files without trying to load the whole text file into a
string? I can't use Input because the files are not comma-delimited, and I
don't think I can use Line Input because sometimes there isn't a line feed
in the whole text file. Any ideas on how I can do this? I'm using Visual
Basic 6.
.
- Follow-Ups:
- Re: text files & strings
- From: Rick Rothstein [MVP - Visual Basic]
- Re: text files & strings
- Prev by Date: Re: Using shell command to map drive can't get redirect result to file
- Next by Date: Re: text files & strings
- Previous by thread: OT: Using shell command to map drive can't get redirect result to file
- Next by thread: Re: text files & strings
- Index(es):
Relevant Pages
|