Click here to Skip to main content
16,007,885 members
Home / Discussions / C#
   

C#

 
AnswerRe: problem in API Pin
Ravi Bhavnani1-Dec-07 14:48
professionalRavi Bhavnani1-Dec-07 14:48 
GeneralRe: problem in API Pin
mymo_h1-Dec-07 15:18
mymo_h1-Dec-07 15:18 
AnswerRe: problem in API Pin
Paul Conrad1-Dec-07 15:01
professionalPaul Conrad1-Dec-07 15:01 
GeneralRe: problem in API Pin
mymo_h1-Dec-07 15:16
mymo_h1-Dec-07 15:16 
GeneralRe: problem in API Pin
Paul Conrad1-Dec-07 15:21
professionalPaul Conrad1-Dec-07 15:21 
AnswerRe: problem in API Pin
Judah Gabriel Himango1-Dec-07 15:35
sponsorJudah Gabriel Himango1-Dec-07 15:35 
QuestionHow to convert ASCII to readable characters? Pin
Khoramdin1-Dec-07 12:00
Khoramdin1-Dec-07 12:00 
AnswerRe: How to convert ASCII to readable characters? [modified] Pin
Anthony Mushrow1-Dec-07 12:19
professionalAnthony Mushrow1-Dec-07 12:19 
Just cast the value as a char:
char letter = array[0];

You can set a char using a letter 'a', an int 52, or a hex value 0x00

Of course you'll want some kind of loop to do that, and use an array of chars. Infact, there may be something in the string class, i'll go look now.


-- modified at 18:47 Saturday 1st December, 2007
Aha, i knew that encoder class was somewhere:

string myText = System.Text.ASCIIEncoding.ASCII.GetString(array);
//array is an array of bytes


My current favourite word is: PIE!

I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for.
-The Undefeated

GeneralRe: How to convert ASCII to readable characters? Pin
PIEBALDconsult1-Dec-07 14:51
mvePIEBALDconsult1-Dec-07 14:51 
GeneralRe: How to convert ASCII to readable characters? Pin
Paul Conrad1-Dec-07 15:22
professionalPaul Conrad1-Dec-07 15:22 
GeneralRe: How to convert ASCII to readable characters? Pin
PIEBALDconsult1-Dec-07 17:05
mvePIEBALDconsult1-Dec-07 17:05 
QuestionHow to store license text in program? Pin
Jigar Suthar1-Dec-07 11:53
Jigar Suthar1-Dec-07 11:53 
AnswerRe: How to store license text in program? Pin
Paul Conrad1-Dec-07 11:57
professionalPaul Conrad1-Dec-07 11:57 
GeneralRe: How to store license text in program? Pin
Jigar Suthar1-Dec-07 20:34
Jigar Suthar1-Dec-07 20:34 
QuestionHow to use GetPicturefromIPicture Pin
kimberleyi1-Dec-07 11:31
kimberleyi1-Dec-07 11:31 
QuestionArray of bytes to Korean chars array? Pin
Cptkli1-Dec-07 11:13
Cptkli1-Dec-07 11:13 
AnswerRe: Array of bytes to Korean chars array? Pin
mid=57411-Dec-07 11:48
mid=57411-Dec-07 11:48 
GeneralRe: Array of bytes to Korean chars array? [modified] Pin
Cptkli1-Dec-07 12:19
Cptkli1-Dec-07 12:19 
GeneralRe: Array of bytes to Korean chars array? Pin
mid=57411-Dec-07 13:30
mid=57411-Dec-07 13:30 
Questioncollection search Pin
Eli Nurman1-Dec-07 6:25
Eli Nurman1-Dec-07 6:25 
AnswerRe: collection search Pin
Kevin McFarlane1-Dec-07 7:52
Kevin McFarlane1-Dec-07 7:52 
GeneralRe: collection search Pin
Paul Conrad1-Dec-07 9:15
professionalPaul Conrad1-Dec-07 9:15 
GeneralRe: collection search Pin
Kevin McFarlane1-Dec-07 11:34
Kevin McFarlane1-Dec-07 11:34 
AnswerRe: collection search Pin
PIEBALDconsult1-Dec-07 10:14
mvePIEBALDconsult1-Dec-07 10:14 
Questionunable to update a table on a access database [modified] Pin
mocasu1-Dec-07 6:02
mocasu1-Dec-07 6:02 

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.