Hi, I need to convert a 8 digits hex to a decimal number. I have tried this code, but it works well upto 6 digits, than more digits, it gives an error. Request someone to help
Dim line As String="0x1B glass WebApplicationIcons"
Dim data() As String
line = "1234ABCD"
data=Regex.Split(" ",line)
Log( Bit.ParseInt(data(0).Replace("0x",""),16) )
1. Moved to the questions forum.
2. Please use [code]code here...[/code] tags when posting code.
3. Use ByteConverter.HexToBytes and then IntsFromBytes or LongsFromBytes.