Click here to Skip to main content
15,896,526 members
Home / Discussions / C#
   

C#

 
AnswerRe: Variable Declared Pin
Sathesh Sakthivel22-Jul-07 19:23
Sathesh Sakthivel22-Jul-07 19:23 
QuestionData Transfer Pin
Le Hoang Viet22-Jul-07 18:34
Le Hoang Viet22-Jul-07 18:34 
AnswerRe: Data Transfer Pin
Christian Graus22-Jul-07 18:48
protectorChristian Graus22-Jul-07 18:48 
QuestionWebcam Server Pin
Le Hoang Viet22-Jul-07 15:51
Le Hoang Viet22-Jul-07 15:51 
AnswerRe: Webcam Server Pin
Christian Graus22-Jul-07 17:04
protectorChristian Graus22-Jul-07 17:04 
QuestionBinary into ASCII Pin
ScIeNcE_ErRoR22-Jul-07 15:01
ScIeNcE_ErRoR22-Jul-07 15:01 
AnswerRe: Binary into ASCII Pin
Luc Pattyn22-Jul-07 15:24
sitebuilderLuc Pattyn22-Jul-07 15:24 
GeneralRe: Binary into ASCII Pin
ScIeNcE_ErRoR22-Jul-07 16:05
ScIeNcE_ErRoR22-Jul-07 16:05 
Well, being I'm all new to this I didn't understand all of it. The way I put it into binary though is as follows:

<br />
char[] arrChars = txtASCII.Text.ToCharArray();<br />
                String sBinary = "";<br />
                String D;<br />
                D = " ";<br />
                foreach (char ch in arrChars)<br />
                {<br />
                    sBinary += Convert.ToString(Convert.ToInt32(ch),2) + D;<br />
                }<br />
                txtBIN.Text = sBinary;<br />


Now, I know that if I change the ,2 to ,16 I get a Hexadecimal output, or Octal if I put ,8 and Decimal if I put ,10. But is there an easy way, by using that code, to reverse the process then? I also tried (Convert.ToChar(ch)) and it gave me the text again. But that was by already typing in my Text Box, not typing in the Binary Box. Can this be simply reversed? And I apologize for the newbie questions, but I'm slowly learning as I go. Trial 'n' Error many times. I tried to type GetChar() but the option of GetChar was not in the drop down menu. I probably missunderstood something though.

Thank You,
ScIeNcE_ErRoR
GeneralRe: Binary into ASCII Pin
Luc Pattyn22-Jul-07 17:23
sitebuilderLuc Pattyn22-Jul-07 17:23 
GeneralRe: Binary into ASCII Pin
ScIeNcE_ErRoR23-Jul-07 13:51
ScIeNcE_ErRoR23-Jul-07 13:51 
GeneralRe: Binary into ASCII Pin
Luc Pattyn23-Jul-07 14:17
sitebuilderLuc Pattyn23-Jul-07 14:17 
QuestionPowerPoint Pin
half-life22-Jul-07 13:25
half-life22-Jul-07 13:25 
AnswerRe: PowerPoint Pin
Paul Conrad22-Jul-07 15:53
professionalPaul Conrad22-Jul-07 15:53 
AnswerRe: PowerPoint Pin
Luc Pattyn22-Jul-07 17:33
sitebuilderLuc Pattyn22-Jul-07 17:33 
GeneralRe: PowerPoint Pin
Paul Conrad22-Jul-07 18:26
professionalPaul Conrad22-Jul-07 18:26 
GeneralRe: PowerPoint Pin
Luc Pattyn23-Jul-07 1:18
sitebuilderLuc Pattyn23-Jul-07 1:18 
GeneralRe: PowerPoint Pin
Paul Conrad23-Jul-07 5:59
professionalPaul Conrad23-Jul-07 5:59 
QuestionFind a Button with HitTest Pin
donovan.solms22-Jul-07 12:00
donovan.solms22-Jul-07 12:00 
AnswerRe: Find a Button with HitTest Pin
Luc Pattyn22-Jul-07 12:24
sitebuilderLuc Pattyn22-Jul-07 12:24 
GeneralRe: Find a Button with HitTest Pin
donovan.solms22-Jul-07 13:10
donovan.solms22-Jul-07 13:10 
GeneralRe: Find a Button with HitTest Pin
Luc Pattyn22-Jul-07 13:44
sitebuilderLuc Pattyn22-Jul-07 13:44 
QuestionThe Location of the cursor in a Text Box Pin
max2929722-Jul-07 11:23
max2929722-Jul-07 11:23 
AnswerRe: The Location of the cursor in a Text Box Pin
Christian Graus22-Jul-07 11:27
protectorChristian Graus22-Jul-07 11:27 
AnswerRe: The Location of the cursor in a Text Box Pin
mav.northwind22-Jul-07 19:17
mav.northwind22-Jul-07 19:17 
GeneralRe: The Location of the cursor in a Text Box Pin
max2929723-Jul-07 8:01
max2929723-Jul-07 8:01 

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.