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\
This should do it
Dim hexVal as String hexVal = "#7B19AB" Dim intVal as Integer intVal = Val("&H" & Replace(hexVal, "#", ""))