Hexadecimal
In the code below, ans is declare as byte. It reads values from the registry and converts them to a string. However in the string the values are not returned as hexadecimal as they are in the registry instead they are converted to decimal (i.e. "23" instead of "17" and "245" instead of "f5"). Can anyone help me keep these in hexadecimal format? I appreciate the help. Thanks
ans = regKey.GetValue("F") ' Create a string from the byte array value = value + Convert.ToString(ans.GetValue(i)) + " " Next ListBox1.Items.Add(value) |

