Click here to Skip to main content
15,886,518 members
Home / Discussions / C#
   

C#

 
QuestionCustom Control "Update Cycles" Pin
Brandon Walton27-Jun-09 11:22
Brandon Walton27-Jun-09 11:22 
AnswerRe: Custom Control "Update Cycles" Pin
Luc Pattyn27-Jun-09 11:55
sitebuilderLuc Pattyn27-Jun-09 11:55 
GeneralRe: Custom Control "Update Cycles" Pin
Brandon Walton27-Jun-09 17:05
Brandon Walton27-Jun-09 17:05 
GeneralRe: Custom Control "Update Cycles" Pin
Luc Pattyn28-Jun-09 0:32
sitebuilderLuc Pattyn28-Jun-09 0:32 
QuestionEstablishing an Internet Connection via coding Pin
ariyanna27-Jun-09 10:34
ariyanna27-Jun-09 10:34 
AnswerRe: Establishing an Internet Connection via coding Pin
Alan N27-Jun-09 10:48
Alan N27-Jun-09 10:48 
GeneralRe: Establishing an Internet Connection via coding Pin
ariyanna27-Jun-09 11:01
ariyanna27-Jun-09 11:01 
QuestionLarge text in RechTextBox Pin
Yoav Ben Zvi27-Jun-09 7:38
Yoav Ben Zvi27-Jun-09 7:38 
Hi,
I am writing a small application that is used to investigate log files. Currently our QA teams are using TextPad for this task. My goal is to create an application that will be able to filter and search the log text for preset expressions.
The size of a typical log file is 2 - 3 MB, and contains about 30,000 lines.

I am using RichTextBox so I will be able to format text. I am using a StringBuilder to concatenate all the lines (note: I am using '\r\n" after each line). I then set the content of the stringBuilder to the RichTextBox:
textBox.Text += sb.ToString();

This causes the application to freeze. I tried SuspendLayout / ResumeLayout but as soon as the form is displayed the application freezes.
Limiting the lines to 10,000 prevents the freezing.

Any ideas?
AnswerRe: Large text in RechTextBox Pin
Not Active27-Jun-09 7:51
mentorNot Active27-Jun-09 7:51 
AnswerRe: Large text in RechTextBox Pin
Eddy Vluggen27-Jun-09 8:48
professionalEddy Vluggen27-Jun-09 8:48 
AnswerRe: Large text in RechTextBox Pin
Luc Pattyn27-Jun-09 9:05
sitebuilderLuc Pattyn27-Jun-09 9:05 
AnswerRe: Large text in RechTextBox Pin
DaveyM6927-Jun-09 9:06
professionalDaveyM6927-Jun-09 9:06 
AnswerRe: Large text in RechTextBox Pin
Uwe Keim27-Jun-09 10:21
sitebuilderUwe Keim27-Jun-09 10:21 
AnswerRe: Large text in RechTextBox Pin
Yoav Ben Zvi28-Jun-09 8:41
Yoav Ben Zvi28-Jun-09 8:41 
QuestionNeed Split Method Pin
M Riaz Bashir27-Jun-09 6:35
M Riaz Bashir27-Jun-09 6:35 
AnswerRe: Need Split Method Pin
Ravi Bhavnani27-Jun-09 6:42
professionalRavi Bhavnani27-Jun-09 6:42 
AnswerRe: Need Split Method Pin
harold aptroot27-Jun-09 6:45
harold aptroot27-Jun-09 6:45 
AnswerRe: Need Split Method Pin
padmanabhan N27-Jun-09 14:48
padmanabhan N27-Jun-09 14:48 
GeneralRe: Need Split Method Pin
Arindam Sinha27-Jun-09 22:10
Arindam Sinha27-Jun-09 22:10 
GeneralRe: Need Split Method Pin
padmanabhan N28-Jun-09 19:54
padmanabhan N28-Jun-09 19:54 
GeneralRe: Need Split Method Pin
Arindam Sinha28-Jun-09 21:04
Arindam Sinha28-Jun-09 21:04 
GeneralRe: Need Split Method Pin
M Riaz Bashir29-Jun-09 23:15
M Riaz Bashir29-Jun-09 23:15 
GeneralRe: Need Split Method Pin
M Riaz Bashir29-Jun-09 23:14
M Riaz Bashir29-Jun-09 23:14 
QuestionHow to get path the path of folder Pin
xinmoigocua27-Jun-09 6:15
xinmoigocua27-Jun-09 6:15 
AnswerRe: How to get path the path of folder Pin
Not Active27-Jun-09 6:18
mentorNot Active27-Jun-09 6: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.