Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying Large Text Files
Message
 
 
To
11/12/2007 12:32:46
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01274791
Message ID:
01274831
Views:
14
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform