Click here to Skip to main content
15,893,190 members
Home / Discussions / C#
   

C#

 
GeneralRe: Leading zero in hex formatting Pin
Christian Graus27-Jun-09 12:18
protectorChristian Graus27-Jun-09 12:18 
GeneralRe: Leading zero in hex formatting Pin
Luc Pattyn27-Jun-09 12:31
sitebuilderLuc Pattyn27-Jun-09 12:31 
GeneralRe: Leading zero in hex formatting Pin
Christian Graus27-Jun-09 12:38
protectorChristian Graus27-Jun-09 12:38 
GeneralRe: Leading zero in hex formatting Pin
Ed.Poore27-Jun-09 14:01
Ed.Poore27-Jun-09 14:01 
GeneralRe: Leading zero in hex formatting Pin
Luc Pattyn27-Jun-09 15:07
sitebuilderLuc Pattyn27-Jun-09 15:07 
GeneralRe: Leading zero in hex formatting Pin
Ed.Poore27-Jun-09 23:47
Ed.Poore27-Jun-09 23:47 
GeneralRe: Leading zero in hex formatting Pin
Trollslayer27-Jun-09 13:53
mentorTrollslayer27-Jun-09 13:53 
GeneralRe: Leading zero in hex formatting Pin
Ed.Poore27-Jun-09 14:00
Ed.Poore27-Jun-09 14:00 
GeneralRe: Leading zero in hex formatting Pin
Trollslayer27-Jun-09 14:13
mentorTrollslayer27-Jun-09 14:13 
JokeRe: Leading zero in hex formatting Pin
Christian Graus27-Jun-09 14:21
protectorChristian Graus27-Jun-09 14:21 
GeneralRe: Leading zero in hex formatting Pin
Luc Pattyn27-Jun-09 14:04
sitebuilderLuc Pattyn27-Jun-09 14:04 
AnswerRe: Leading zero in hex formatting Pin
Luc Pattyn27-Jun-09 12:10
sitebuilderLuc Pattyn27-Jun-09 12:10 
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 

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.