Click here to Skip to main content
15,895,084 members
Home / Discussions / C#
   

C#

 
QuestionGenerate files using Macros in Excel Pin
NarVish10-Oct-10 21:22
NarVish10-Oct-10 21:22 
AnswerRe: Generate files using Macros in Excel Pin
Richard MacCutchan11-Oct-10 0:26
mveRichard MacCutchan11-Oct-10 0:26 
GeneralRe: Generate files using Macros in Excel Pin
NarVish11-Oct-10 19:16
NarVish11-Oct-10 19:16 
QuestionBinary to hex Conversion ? Pin
deadlyabbas10-Oct-10 20:19
deadlyabbas10-Oct-10 20:19 
AnswerRe: Binary to hex Conversion ? Pin
Khaniya10-Oct-10 20:25
professionalKhaniya10-Oct-10 20:25 
GeneralRe: Binary to hex Conversion ? Pin
deadlyabbas10-Oct-10 22:55
deadlyabbas10-Oct-10 22:55 
AnswerRe: Binary to hex Conversion ? Pin
DaveyM6910-Oct-10 21:42
professionalDaveyM6910-Oct-10 21:42 
GeneralRe: Binary to hex Conversion ? Pin
deadlyabbas10-Oct-10 22:54
deadlyabbas10-Oct-10 22:54 
Thanks for your reply.

If you just convert it as you have shown it Eliminates the "0".
Say for example you have to convert 0000111111111000 into Hex.So it will show FF8 instead 0FF8
Well I was able to over come that by doing following:
string MyBinary = "0000111111111000";
string MyHex = String.Format("{0:X4}", Convert.ToInt32(MyBinary, 2));

GeneralRe: Binary to hex Conversion ? Pin
DaveyM6910-Oct-10 23:59
professionalDaveyM6910-Oct-10 23:59 
AnswerRe: Binary to hex Conversion ? Pin
Luc Pattyn11-Oct-10 1:13
sitebuilderLuc Pattyn11-Oct-10 1:13 
QuestionProgram hangs... Pin
ayandelhi10-Oct-10 19:33
ayandelhi10-Oct-10 19:33 
AnswerRe: Program hangs... Pin
ScottM110-Oct-10 20:55
ScottM110-Oct-10 20:55 
AnswerRe: Program hangs... Pin
Rajesh Anuhya10-Oct-10 21:37
professionalRajesh Anuhya10-Oct-10 21:37 
AnswerRe: Program hangs... Pin
Harvey Saayman11-Oct-10 1:07
Harvey Saayman11-Oct-10 1:07 
AnswerRe: Program hangs... Pin
Luc Pattyn11-Oct-10 1:17
sitebuilderLuc Pattyn11-Oct-10 1:17 
AnswerRe: Program hangs... Pin
#realJSOP11-Oct-10 2:38
mve#realJSOP11-Oct-10 2:38 
AnswerCode... Pin
ayandelhi11-Oct-10 4:44
ayandelhi11-Oct-10 4:44 
GeneralRe: Code... Pin
ayandelhi11-Oct-10 6:25
ayandelhi11-Oct-10 6:25 
GeneralRe: Code... Pin
Pete O'Hanlon11-Oct-10 6:43
mvePete O'Hanlon11-Oct-10 6:43 
GeneralRe: Code... Pin
ayandelhi11-Oct-10 7:07
ayandelhi11-Oct-10 7:07 
QuestionAccess the ConfigSection of specified config file Pin
AndieDu10-Oct-10 18:59
AndieDu10-Oct-10 18:59 
QuestionCancel on ThreadPool queued executions? Pin
devvvy10-Oct-10 17:47
devvvy10-Oct-10 17:47 
AnswerRe: Cancel on ThreadPool queued executions? Pin
Harvey Saayman10-Oct-10 21:29
Harvey Saayman10-Oct-10 21:29 
GeneralRe: Cancel on ThreadPool queued executions? Pin
devvvy11-Oct-10 2:49
devvvy11-Oct-10 2:49 
GeneralRe: Cancel on ThreadPool queued executions? Pin
Harvey Saayman11-Oct-10 2:52
Harvey Saayman11-Oct-10 2:52 

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.