Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

diplay text file with more than 64 kb

Status
Not open for further replies.

rafs

Programmer
Oct 2, 2001
29
PT
how can i diplay a text file (*.txt), with more than 64 kb, (the memoread() function, only read files max. 64 kb)?
Thank you.
 
Try openning the large files with FOPEN and then parse them into smaller sections that MEMOREAD can handle. Once any changes are made, use FWRITE to save each of the sections back to the file. It is a pain not to edit the file in one group, but this method has been working for me.
 
I too was using memoread but my s/w used to crash during big files
USe funtion called Scrollfile() which takes care any big text file this comes with planet library.
eg. Scrollfile('tempfile.prn')
 
you may wish to try your app calling browse.com and browse opening your file. With it, you can scroll, go to top or bottom, etc.
Its free and available from many locations on www.
Good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top