>>I am trying to give the users an interface to view txt reports via the Rich Text Active X control and I currently have everything working exactly the way I want it except for one problem. The problem I'm having is when I try to load a large txt file (something around 20 to 28 megs) the application locks up or its just taking forever to load. Any ideas on how to remedy this problem or an alternative to using the rich text control?
>
>Since no one is going to be able to read all 28MB of text data at once, how about you fopen the file and fread just a chunk of it and display it in the RTF control, with PGUP PGDN controls to navigate?
>
>Carlos
I'm not sure, but I have doubts the chunk would work.
If it's not broken, fix it until it is.
My Blog