Click here to Skip to main content
15,911,531 members
Home / Discussions / C#
   

C#

 
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 
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 
Well, I was thinking of having 5+ string builder objects.

1 for current text in textbox
1 for next page
1 for previous page
1 for 5000 lines ahead page
1 for 5000 lines behind page

you can add more if you wish in the same way.

You need to maintain few indexes in your program to read only those blocks using StringBuilder.ReadBlock method.

Searching is something I am not sure of.
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 
AnswerRe: 3D library/engine .net Pin
jimclack26-Feb-10 9:14
jimclack26-Feb-10 9:14 
GeneralRe: 3D library/engine .net Pin
LimeMan28-Feb-10 10:18
LimeMan28-Feb-10 10:18 

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.