Click here to Skip to main content
15,888,610 members
Home / Discussions / C#
   

C#

 
GeneralWMI Access - Help Pin
wakkerjack9-Jul-04 23:28
wakkerjack9-Jul-04 23:28 
QuestionIn StringBuilder copied from richTextBox fast way to findout end of line ? Pin
evdoxos9-Jul-04 23:23
evdoxos9-Jul-04 23:23 
AnswerRe: In StringBuilder copied from richTextBox fast way to findout end of line ? Pin
mav.northwind9-Jul-04 23:42
mav.northwind9-Jul-04 23:42 
GeneralRe: In StringBuilder copied from richTextBox fast way to findout end of line ? Pin
evdoxos10-Jul-04 0:34
evdoxos10-Jul-04 0:34 
GeneralRe: In StringBuilder copied from richTextBox fast way to findout end of line ? Pin
mav.northwind10-Jul-04 5:22
mav.northwind10-Jul-04 5:22 
AnswerRe: In StringBuilder copied from richTextBox fast way to findout end of line ? Pin
leppie10-Jul-04 1:05
leppie10-Jul-04 1:05 
AnswerRe: In StringBuilder copied from richTextBox fast way to findout end of line ? Pin
partyganger10-Jul-04 4:09
partyganger10-Jul-04 4:09 
GeneralRe: In StringBuilder copied from richTextBox fast way to findout end of line ? Pin
evdoxos10-Jul-04 7:23
evdoxos10-Jul-04 7:23 
I was thinking break will take me out of if() which was in the foreach().
But it was taking me out of the foreach().
So some parts of code was not executed. Instead of break I used continue.
So my problem was solved by this way:
foreach(char ch in <code>stb.ToString())
{
......................
if(ch.ToString()=="\n")
......................
}

The "\r" doesn't appear anywhere.
Performance is low for other reasons. I should think other solutions.
Thanks.
Questionhow to make Date function Pin
Anonymous9-Jul-04 20:26
Anonymous9-Jul-04 20:26 
AnswerRe: how to make Date function Pin
mav.northwind9-Jul-04 23:36
mav.northwind9-Jul-04 23:36 
GeneralRe: how to make Date function Pin
Werdna10-Jul-04 11:13
Werdna10-Jul-04 11:13 
GeneralIs it possible to serialize an assembly Pin
joelwwk9-Jul-04 18:26
joelwwk9-Jul-04 18:26 
GeneralRe: Is it possible to serialize an assembly Pin
Robert Rohde10-Jul-04 1:51
Robert Rohde10-Jul-04 1:51 
GeneralRe: Is it possible to serialize an assembly Pin
Nick Parker10-Jul-04 18:14
protectorNick Parker10-Jul-04 18:14 
GeneralChild Control Painting problems Pin
Jon_Slaughter9-Jul-04 17:15
Jon_Slaughter9-Jul-04 17:15 
Questionhow to catch key combinations? Pin
BrownJacket9-Jul-04 15:34
BrownJacket9-Jul-04 15:34 
AnswerRe: how to catch key combinations? Pin
mav.northwind9-Jul-04 23:33
mav.northwind9-Jul-04 23:33 
GeneralRe: how to catch key combinations? Pin
BrownJacket10-Jul-04 1:18
BrownJacket10-Jul-04 1:18 
AnswerRe: how to catch key combinations? Pin
Gary Thom12-Jul-04 3:59
Gary Thom12-Jul-04 3:59 
GeneralProblems with resources Pin
ricny0469-Jul-04 11:45
ricny0469-Jul-04 11:45 
QuestionTwo console windows? Pin
hammackj9-Jul-04 11:13
hammackj9-Jul-04 11:13 
GeneralPassing Values Pin
Dylan van Heerden9-Jul-04 9:42
Dylan van Heerden9-Jul-04 9:42 
GeneralRe: Passing Values Pin
Dave Kreskowiak9-Jul-04 9:48
mveDave Kreskowiak9-Jul-04 9:48 
GeneralRe: Passing Values Pin
Anonymous9-Jul-04 22:54
Anonymous9-Jul-04 22:54 
GeneralRe: Passing Values Pin
Robert Rohde10-Jul-04 1:57
Robert Rohde10-Jul-04 1:57 

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.