Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying Large Text Files
Message
De
11/12/2007 12:32:46
 
 
À
11/12/2007 11:15:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Divers
Thread ID:
01274791
Message ID:
01274828
Vues:
9
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform