Click here to Skip to main content
15,887,585 members
Home / Discussions / C#
   

C#

 
Questionhow to change back color of RichTextbox when it is disabled Pin
mutpan2-Aug-09 23:43
mutpan2-Aug-09 23:43 
AnswerRe: how to change back color of RichTextbox when it is disabled Pin
Henry Minute3-Aug-09 1:12
Henry Minute3-Aug-09 1:12 
GeneralRe: how to change back color of RichTextbox when it is disabled Pin
Baeltazor3-Aug-09 15:54
Baeltazor3-Aug-09 15:54 
AnswerRe: how to change back color of RichTextbox when it is disabled Pin
allothernamesaretaken16-Feb-10 19:21
allothernamesaretaken16-Feb-10 19:21 
QuestionHow to convert string to asci and asci to hex Pin
pallaka2-Aug-09 23:04
pallaka2-Aug-09 23:04 
AnswerRe: How to convert string to asci and asci to hex Pin
riced2-Aug-09 23:12
riced2-Aug-09 23:12 
GeneralRe: How to convert string to asci and asci to hex Pin
pallaka2-Aug-09 23:20
pallaka2-Aug-09 23:20 
GeneralRe: How to convert string to asci and asci to hex Pin
riced2-Aug-09 23:36
riced2-Aug-09 23:36 
You seem to be confused about what Hex means. Smile | :)
This is Hex (well a string of Hex characters):

pallaka wrote:
3F 50


And this is (printable) ASCII or whatever the encoding is.

pallaka wrote:
? P


If you have a string of Hex characters separated by spaces (which is what your example shows) I suggest using Split on txtToSend.Text to get an array and then loop through the array to output the chars. You will need convert the array entries to numeric and then the numeric to char.

Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis

AnswerRe: How to convert string to asci and asci to hex Pin
gwithey2-Aug-09 23:19
gwithey2-Aug-09 23:19 
GeneralRe: How to convert Hexa to Ascii and Ascii to hexa Pin
pallaka2-Aug-09 23:43
pallaka2-Aug-09 23:43 
GeneralRe: How to convert Hexa to Ascii and Ascii to hexa Pin
gwithey2-Aug-09 23:54
gwithey2-Aug-09 23:54 
GeneralRe: How to convert Hexa to Ascii and Ascii to hexa Pin
pallaka2-Aug-09 23:58
pallaka2-Aug-09 23:58 
GeneralRe: How to convert Hexa to Ascii and Ascii to hexa Pin
gwithey3-Aug-09 0:10
gwithey3-Aug-09 0:10 
AnswerRe: How to convert string to asci and asci to hex Pin
Luc Pattyn2-Aug-09 23:58
sitebuilderLuc Pattyn2-Aug-09 23:58 
QuestionDissable left click (Only on a trackBar) Pin
gwithey2-Aug-09 23:02
gwithey2-Aug-09 23:02 
AnswerRe: Dissable left click (Only on a trackBar) Pin
codemunkeh3-Aug-09 18:28
codemunkeh3-Aug-09 18:28 
QuestionProblem with ReadExisting in serial communication...i am sending data in hexa decimal but i am reciving it in asci..... Pin
pallaka2-Aug-09 22:09
pallaka2-Aug-09 22:09 
AnswerRe: Problem with ReadExisting in serial communication...i am sending data in hexa decimal but i am reciving it in asci..... Pin
stancrm2-Aug-09 22:18
stancrm2-Aug-09 22:18 
GeneralRe: Problem with ReadExisting in serial communication...i am sending data in hexa decimal but i am reciving it in asci..... Pin
pallaka2-Aug-09 22:47
pallaka2-Aug-09 22:47 
GeneralRe: Problem with ReadExisting in serial communication...i am sending data in hexa decimal but i am reciving it in asci..... Pin
OriginalGriff2-Aug-09 22:57
mveOriginalGriff2-Aug-09 22:57 
GeneralRe: Problem with ReadExisting in serial communication...i am sending data in hexa decimal but i am reciving it in asci..... Pin
pallaka2-Aug-09 23:11
pallaka2-Aug-09 23:11 
GeneralRe: Problem with ReadExisting in serial communication...i am sending data in hexa decimal but i am reciving it in asci..... Pin
OriginalGriff2-Aug-09 23:22
mveOriginalGriff2-Aug-09 23:22 
QuestionWPf questions about custom control Pin
TGiril2-Aug-09 21:35
TGiril2-Aug-09 21:35 
AnswerRe: WPf questions about custom control Pin
Abhijit Jana2-Aug-09 21:49
professionalAbhijit Jana2-Aug-09 21:49 
QuestionCreating a ContextMenu at runtime... Pin
Thomas Kemper2-Aug-09 20:38
Thomas Kemper2-Aug-09 20:38 

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.