Click here to Skip to main content
15,914,419 members
Home / Discussions / C#
   

C#

 
AnswerRe: OpenFileDialog directory path Pin
CodingYoshi3-Dec-08 17:42
CodingYoshi3-Dec-08 17:42 
GeneralRe: OpenFileDialog directory path Pin
Maddie from Dartford3-Dec-08 19:10
Maddie from Dartford3-Dec-08 19:10 
AnswerRe: OpenFileDialog directory path Pin
tonyjsebastian13-Dec-08 17:46
tonyjsebastian13-Dec-08 17:46 
GeneralRe: OpenFileDialog directory path Pin
Luc Pattyn3-Dec-08 17:47
sitebuilderLuc Pattyn3-Dec-08 17:47 
GeneralRe: OpenFileDialog directory path Pin
tonyjsebastian13-Dec-08 18:18
tonyjsebastian13-Dec-08 18:18 
GeneralRe: OpenFileDialog directory path Pin
Maddie from Dartford3-Dec-08 19:05
Maddie from Dartford3-Dec-08 19:05 
GeneralRe: OpenFileDialog directory path Pin
Guffa3-Dec-08 19:52
Guffa3-Dec-08 19:52 
GeneralRe: OpenFileDialog directory path Pin
Maddie from Dartford3-Dec-08 21:31
Maddie from Dartford3-Dec-08 21:31 
GeneralRe: OpenFileDialog directory path Pin
Guffa3-Dec-08 22:07
Guffa3-Dec-08 22:07 
QuestionWriting All listView1 Items, Weird... Pin
jas0n233-Dec-08 16:52
jas0n233-Dec-08 16:52 
AnswerRe: Writing All listView1 Items, Weird... Pin
CodingYoshi3-Dec-08 17:58
CodingYoshi3-Dec-08 17:58 
AnswerRe: Writing All listView1 Items, Weird... Pin
Christian Graus3-Dec-08 18:11
protectorChristian Graus3-Dec-08 18:11 
GeneralRe: Writing All listView1 Items, Weird... Pin
jas0n233-Dec-08 18:32
jas0n233-Dec-08 18:32 
QuestionData Field Values... Pin
Illegal Operation3-Dec-08 14:30
Illegal Operation3-Dec-08 14:30 
AnswerRe: Data Field Values... Pin
Christian Graus3-Dec-08 14:58
protectorChristian Graus3-Dec-08 14:58 
AnswerRe: Data Field Values... Pin
CodingYoshi3-Dec-08 18:12
CodingYoshi3-Dec-08 18:12 
QuestionQuestion about ZedGraph and Data Types Pin
Rafone3-Dec-08 13:09
Rafone3-Dec-08 13:09 
AnswerRe: Question about ZedGraph and Data Types Pin
Christian Graus3-Dec-08 13:12
protectorChristian Graus3-Dec-08 13:12 
GeneralRe: Question about ZedGraph and Data Types Pin
Rafone3-Dec-08 13:31
Rafone3-Dec-08 13:31 
GeneralRe: Question about ZedGraph and Data Types Pin
Christian Graus3-Dec-08 13:51
protectorChristian Graus3-Dec-08 13:51 
QuestionUsing a TextBox as Console replacement. Pin
Mr.Brainley3-Dec-08 12:16
Mr.Brainley3-Dec-08 12:16 
GeneralRe: Using a TextBox as Console replacement. Pin
Luc Pattyn3-Dec-08 12:38
sitebuilderLuc Pattyn3-Dec-08 12:38 
Hi,

I recommend using a ListBox instead of a TextBox when ever the content is line oriented.

A TextBox is meant to hold one piece of text, and it effectively stores a single string,
which would be the (expensive) concatenation of all your individual log messages.

A ListBox on the other hand is aimed at displaying and manipulating lists, that could be lists of single-line strings. Nothing gets concatenated, all items in the list are kept separately, and they can be added, removed, modified, etc. Much easier, and much faster, especially when the total size of the contents increases. I have been using ListBoxes holding millions of messages; I can't imagine getting satisfactory results from a TextBox for such work loads. A StringBuilder would not solve the performance problem at all.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Fixturized forever. Confused | :confused:


GeneralRe: Using a TextBox as Console replacement. Pin
User 43300283-Dec-08 14:06
User 43300283-Dec-08 14:06 
GeneralRe: Using a TextBox as Console replacement. Pin
Luc Pattyn3-Dec-08 14:19
sitebuilderLuc Pattyn3-Dec-08 14:19 
GeneralRe: Using a TextBox as Console replacement. Pin
Mr.Brainley7-Dec-08 0:35
Mr.Brainley7-Dec-08 0:35 

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.