Click here to Skip to main content
15,907,687 members
Home / Discussions / C#
   

C#

 
GeneralRe: Read & Display a huge text file in textbox Pin
AspDotNetDev24-Feb-10 18:01
protectorAspDotNetDev24-Feb-10 18:01 
GeneralRe: Read & Display a huge text file in textbox Pin
Luc Pattyn24-Feb-10 18:05
sitebuilderLuc Pattyn24-Feb-10 18:05 
GeneralRe: Read & Display a huge text file in textbox Pin
AspDotNetDev24-Feb-10 18:10
protectorAspDotNetDev24-Feb-10 18:10 
GeneralRe: Read & Display a huge text file in textbox Pin
Luc Pattyn24-Feb-10 18:24
sitebuilderLuc Pattyn24-Feb-10 18:24 
GeneralRe: Read & Display a huge text file in textbox Pin
AspDotNetDev24-Feb-10 18:30
protectorAspDotNetDev24-Feb-10 18:30 
GeneralRe: Read & Display a huge text file in textbox Pin
dengboo24-Feb-10 18:38
dengboo24-Feb-10 18:38 
GeneralRe: Read & Display a huge text file in textbox Pin
Luc Pattyn25-Feb-10 2:24
sitebuilderLuc Pattyn25-Feb-10 2:24 
AnswerRe: Read & Display a huge text file in textbox Pin
Som Shekhar24-Feb-10 20:09
Som Shekhar24-Feb-10 20:09 
If it is a log file, I suggest saving it with xml node info. This can then be hooked to some database (file to xml) technique to enable search features. Also, it will be more organized data.

If this log file is not created by you, then it sounds like a daunting task.

Dengbo wrote:
So you have 2 vertical scrollbars. One which scrolls the full height, one which scrolls 5000 lines at a time


This gives me an idea. What you can do is not to have text in the textbox. Show only the info that the user wants.

Instead of adding ScrollBars, add buttons to scroll page up or down. This will enable a paging possibility and it will be easier to handle too.
GeneralRe: Read & Display a huge text file in textbox Pin
AspDotNetDev24-Feb-10 21:51
protectorAspDotNetDev24-Feb-10 21:51 
GeneralRe: Read & Display a huge text file in textbox Pin
Som Shekhar24-Feb-10 22:17
Som Shekhar24-Feb-10 22:17 
GeneralRe: Read & Display a huge text file in textbox Pin
AspDotNetDev24-Feb-10 22:27
protectorAspDotNetDev24-Feb-10 22:27 
GeneralRe: Read & Display a huge text file in textbox Pin
Som Shekhar24-Feb-10 22:32
Som Shekhar24-Feb-10 22:32 
GeneralRe: Read & Display a huge text file in textbox Pin
AspDotNetDev24-Feb-10 22:34
protectorAspDotNetDev24-Feb-10 22:34 
GeneralRe: Read & Display a huge text file in textbox Pin
Som Shekhar24-Feb-10 22:36
Som Shekhar24-Feb-10 22:36 
GeneralRe: Read & Display a huge text file in textbox Pin
Luc Pattyn25-Feb-10 2:26
sitebuilderLuc Pattyn25-Feb-10 2:26 
QuestionHow to connect a existent instance through Component Object Model (COM) interface. Pin
Daniel_Teng24-Feb-10 16:11
Daniel_Teng24-Feb-10 16:11 
AnswerRe: How to connect a existent instance through Component Object Model (COM) interface. Pin
Dave Kreskowiak25-Feb-10 3:53
mveDave Kreskowiak25-Feb-10 3:53 
GeneralRe: How to connect a existent instance through Component Object Model (COM) interface. Pin
Daniel_Teng25-Feb-10 13:23
Daniel_Teng25-Feb-10 13:23 
GeneralRe: How to connect a existent instance through Component Object Model (COM) interface. Pin
Dave Kreskowiak25-Feb-10 13:56
mveDave Kreskowiak25-Feb-10 13:56 
QuestionExcel to SQL Pin
MAW3024-Feb-10 14:09
MAW3024-Feb-10 14:09 
AnswerRe: Excel to SQL Pin
Mycroft Holmes24-Feb-10 15:42
professionalMycroft Holmes24-Feb-10 15:42 
Question3D library/engine .net Pin
LimeMan24-Feb-10 14:04
LimeMan24-Feb-10 14:04 
AnswerRe: 3D library/engine .net Pin
AspDotNetDev24-Feb-10 14:37
protectorAspDotNetDev24-Feb-10 14:37 
GeneralRe: 3D library/engine .net Pin
LimeMan25-Feb-10 4:43
LimeMan25-Feb-10 4:43 
GeneralRe: 3D library/engine .net Pin
AspDotNetDev25-Feb-10 9:22
protectorAspDotNetDev25-Feb-10 9:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.