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

C#

 
QuestionSpell checker for microsoft word Pin
iinfoque1-Apr-06 4:00
iinfoque1-Apr-06 4:00 
AnswerRe: Communicating with a USB Device Pin
leppie1-Apr-06 2:55
leppie1-Apr-06 2:55 
QuestionSudoku 4 Mobile phone Pin
t4ure4n1-Apr-06 1:43
t4ure4n1-Apr-06 1:43 
QuestionDisplaying 0\0 Pin
thepersonof1-Apr-06 1:42
thepersonof1-Apr-06 1:42 
AnswerRe: Displaying 0\0 Pin
Nicholas Butler1-Apr-06 1:45
sitebuilderNicholas Butler1-Apr-06 1:45 
GeneralRe: Displaying 0\0 Pin
thepersonof1-Apr-06 2:29
thepersonof1-Apr-06 2:29 
GeneralRe: Displaying 0\0 Pin
leppie1-Apr-06 3:02
leppie1-Apr-06 3:02 
AnswerRe: Displaying 0\0 Pin
Guffa1-Apr-06 4:40
Guffa1-Apr-06 4:40 
You can't display the character \0, there is no character glyph for that character code in any fonts. It's used as an end marker for zero terminated strings. Strings in .NET don't use a terminator character, so you can just trim that character away.

If you want to show that there is a \0 character, you have to replace it with characters that are possible to display, for an example:

MessageBox.Show("buffer:"+b+" sz:"+szData.Replace("\x00", "[0]"));

---
b { font-weight: normal; }

GeneralRe: Displaying 0\0 Pin
thepersonof1-Apr-06 4:59
thepersonof1-Apr-06 4:59 
GeneralRe: Displaying 0\0 Pin
thepersonof1-Apr-06 6:42
thepersonof1-Apr-06 6:42 
QuestionInconsistant accesibility Pin
thepersonof1-Apr-06 0:37
thepersonof1-Apr-06 0:37 
Questioncreat a find tool in text editor? Pin
abdelhameed8131-Mar-06 23:56
abdelhameed8131-Mar-06 23:56 
Questionhow to use flash in c# ? Pin
hdv21231-Mar-06 23:43
hdv21231-Mar-06 23:43 
AnswerRe: how to use flash in c# ? Pin
Robert M Greene1-Apr-06 15:01
Robert M Greene1-Apr-06 15:01 
QuestionPrint preview not printing... Pin
Stanciu Vlad31-Mar-06 22:51
Stanciu Vlad31-Mar-06 22:51 
AnswerRe: Print preview not printing... Pin
Ed.Poore31-Mar-06 23:09
Ed.Poore31-Mar-06 23:09 
AnswerRe: Print preview not printing... Pin
Nicholas Butler31-Mar-06 23:45
sitebuilderNicholas Butler31-Mar-06 23:45 
QuestionRe: Print preview not printing... Pin
Stanciu Vlad1-Apr-06 6:39
Stanciu Vlad1-Apr-06 6:39 
AnswerRe: Print preview not printing... Pin
Robert Rohde1-Apr-06 8:44
Robert Rohde1-Apr-06 8:44 
GeneralRe: Print preview not printing... Pin
Stanciu Vlad1-Apr-06 9:00
Stanciu Vlad1-Apr-06 9:00 
AnswerRe: Print preview not printing... Pin
Aaron Dilliard4-Apr-06 11:50
Aaron Dilliard4-Apr-06 11:50 
GeneralRe: Print preview not printing... Pin
Stanciu Vlad5-Apr-06 0:30
Stanciu Vlad5-Apr-06 0:30 
QuestionWindows Desktop Shortcut list Pin
Stephen_Mc31-Mar-06 21:58
Stephen_Mc31-Mar-06 21:58 
AnswerRe: Windows Desktop Shortcut list Pin
Robin Panther31-Mar-06 23:09
Robin Panther31-Mar-06 23:09 
QuestionTreeview add child Pin
thepersonof31-Mar-06 21:56
thepersonof31-Mar-06 21:56 

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.