Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
AnswerRe: textBoxes Calculation issue Pin
Wes Aday29-Aug-12 6:46
professionalWes Aday29-Aug-12 6:46 
GeneralRe: textBoxes Calculation issue Pin
haroon198029-Aug-12 6:51
haroon198029-Aug-12 6:51 
GeneralRe: textBoxes Calculation issue Pin
Wes Aday29-Aug-12 6:54
professionalWes Aday29-Aug-12 6:54 
GeneralRe: textBoxes Calculation issue Pin
haroon198029-Aug-12 10:58
haroon198029-Aug-12 10:58 
GeneralRe: textBoxes Calculation issue Pin
Dave Kreskowiak29-Aug-12 12:52
mveDave Kreskowiak29-Aug-12 12:52 
GeneralRe: textBoxes Calculation issue Pin
haroon198029-Aug-12 23:49
haroon198029-Aug-12 23:49 
GeneralRe: textBoxes Calculation issue Pin
Dave Kreskowiak30-Aug-12 1:41
mveDave Kreskowiak30-Aug-12 1:41 
QuestionBlank lines in a rich text box from a Serial Device, am I getting rid of them correctly..... Pin
glennPattonWork329-Aug-12 4:21
professionalglennPattonWork329-Aug-12 4:21 
Hi All,

I'm reading back some data from a board most of the time it gives it back correctly and I am displaying in a rich text box. On the odd occasion I get a blank line appearing not a problem! (the end user will not see it) the issue comes when I save the data out. I am
doing the following
C#
Unit_Reply = Unit_Reply.Replace(" ", "");
to get rid of the spaces and
C#
Unit_Reply = Unit_Reply.Replace("\r", "");
to get rid of stray carriage returns, the data is terminated by a \r\n and as this is being output I use the \n to get to a new line. Could there be an extra \r or \n or some other unprintable creeping in?

Glenn
AnswerRe: Blank lines in a rich text box from a Serial Device, am I getting rid of them correctly..... Pin
Pete O'Hanlon29-Aug-12 4:30
mvePete O'Hanlon29-Aug-12 4:30 
GeneralRe: Blank lines in a rich text box from a Serial Device, am I getting rid of them correctly..... Pin
glennPattonWork329-Aug-12 5:00
professionalglennPattonWork329-Aug-12 5:00 
GeneralRe: Blank lines in a rich text box from a Serial Device, am I getting rid of them correctly..... Pin
Pete O'Hanlon29-Aug-12 5:13
mvePete O'Hanlon29-Aug-12 5:13 
GeneralRe: Blank lines in a rich text box from a Serial Device, am I getting rid of them correctly..... Pin
glennPattonWork329-Aug-12 5:37
professionalglennPattonWork329-Aug-12 5:37 
GeneralRe: Blank lines in a rich text box from a Serial Device, am I getting rid of them correctly..... Pin
PIEBALDconsult29-Aug-12 6:05
mvePIEBALDconsult29-Aug-12 6:05 
GeneralRe: Blank lines in a rich text box from a Serial Device, am I getting rid of them correctly..... Pin
glennPattonWork329-Aug-12 6:15
professionalglennPattonWork329-Aug-12 6:15 
GeneralRe: Blank lines in a rich text box from a Serial Device, am I getting rid of them correctly..... Pin
PIEBALDconsult29-Aug-12 5:37
mvePIEBALDconsult29-Aug-12 5:37 
GeneralRe: Blank lines in a rich text box from a Serial Device, am I getting rid of them correctly..... Pin
glennPattonWork329-Aug-12 5:42
professionalglennPattonWork329-Aug-12 5:42 
GeneralRe: Blank lines in a rich text box from a Serial Device, am I getting rid of them correctly..... Pin
glennPattonWork329-Aug-12 6:14
professionalglennPattonWork329-Aug-12 6:14 
GeneralRe: Blank lines in a rich text box from a Serial Device, am I getting rid of them correctly..... Pin
PIEBALDconsult29-Aug-12 6:54
mvePIEBALDconsult29-Aug-12 6:54 
GeneralRe: Blank lines in a rich text box from a Serial Device, am I getting rid of them correctly..... Pin
glennPattonWork329-Aug-12 22:01
professionalglennPattonWork329-Aug-12 22:01 
GeneralRe: Blank lines in a rich text box from a Serial Device, am I getting rid of them correctly..... Pin
glennPattonWork329-Aug-12 23:19
professionalglennPattonWork329-Aug-12 23:19 
QuestionExtract excel from SQLDB Pin
dabuskol29-Aug-12 2:31
dabuskol29-Aug-12 2:31 
AnswerRe: Extract excel from SQLDB Pin
Eddy Vluggen29-Aug-12 2:42
professionalEddy Vluggen29-Aug-12 2:42 
GeneralRe: Extract excel from SQLDB Pin
dabuskol29-Aug-12 2:45
dabuskol29-Aug-12 2:45 
GeneralRe: Extract excel from SQLDB Pin
Eddy Vluggen29-Aug-12 3:01
professionalEddy Vluggen29-Aug-12 3:01 
Questionworking with xml Pin
sc steinhayse29-Aug-12 2:27
sc steinhayse29-Aug-12 2:27 

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.