How can I convert a hex value to a decimal value in VB6?
I\'m trying just to see if this works:
Dim hexVal as string hexVal = \"#7B19AB\" clng(\"&H\
Try It:
value=CDbl("&H" & HexValue)
or
value=CInt("&H" & HexValue) 'but range +- 32,768