Hi,
I need to convert binary file to hex format.Can anyone guide me .
Description-Just accept binary.dat file as input and convert each characher in binary file to hex format.
Waiting for urgent reply.
Thanx.
Convert binary file to hex format
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Mike GoldRank #50 · 30.6K pointsPosted Apr 10, 2006, 11:02 AM EDT
e.g.
0xff 0x33 0xC0
or
ff 33 C0
I think you need to be more specific about the question.
-Mike G.
(Microsoft MVP)
fiona zhang9 pointsPosted Apr 11, 2006, 7:44 PM EDT
long i = Convert.ToInt64(trackBar1.Value);
string j = Convert.ToString(i, 2);//convert binary
maybe you can try it.