64k string size limitation
Posted on 1998-09-23
I am using VB 6
I have a log file (text format) that I am parsing. Here are the steps I am using:
1. Open the text file
2. Start the loop
3. Read the 1st line, and extract the needed info
4. Write the extracted data to a new file
5. Loop again until EOF
The program starts, and then errors. It looks like its a limitation of the 64K string size. If I go into the text file, and make it a 10-20 lines in length, it works fine.
The file I am extracting the info out of is 624K and will grow daily.
How can I overcome this limitation?