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

C#

 
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 
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 
Or, use a simple for loop like this:
C#
for (int i = 0; i < myText.Length; i++)
{
  if (myText[i] < ' ')
  {
    // This is a control character.
  }
}
It's that simple.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

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 
AnswerRe: working with xml Pin
Pete O'Hanlon29-Aug-12 2:35
mvePete O'Hanlon29-Aug-12 2:35 
GeneralRe: working with xml Pin
sc steinhayse29-Aug-12 3:49
sc steinhayse29-Aug-12 3:49 
GeneralRe: working with xml Pin
Pete O'Hanlon29-Aug-12 4:04
mvePete O'Hanlon29-Aug-12 4:04 

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.