Characters in hexadecimal
-
Hi I am converting a wmf(drawing file) file in to hexa decimal Format here I am able to convert the data from WMF file to hexadecimal but the problem is the characters (A,B,C,D,E,F)in converted Hexa decimal format are coming in Small Case letters which should be in capital Letters can any of u help in getting the characters in to Capitals I am using the following code to convert. uint uiDecimal = 0; uiDecimal=checked((uint)System.Convert.ToUInt32(shapeDiagramData[i])); string str; str = String.Format("{0:x2}",uiDecimal); sw.Write("{0}", str); Shashidhar.
-
Hi I am converting a wmf(drawing file) file in to hexa decimal Format here I am able to convert the data from WMF file to hexadecimal but the problem is the characters (A,B,C,D,E,F)in converted Hexa decimal format are coming in Small Case letters which should be in capital Letters can any of u help in getting the characters in to Capitals I am using the following code to convert. uint uiDecimal = 0; uiDecimal=checked((uint)System.Convert.ToUInt32(shapeDiagramData[i])); string str; str = String.Format("{0:x2}",uiDecimal); sw.Write("{0}", str); Shashidhar.
Why not just call
str.ToUpper();
? Regards Senthil _____________________________ My Blog | My Articles | WinMacro