In vb there is a HEX function. It returns the hex value of a number.
Example:
Dim MyHex
MyHex = Hex(5) ' Returns 5.
MyHex = Hex(10) ' Returns A.
MyHex = Hex(459) ' Returns 1CB.
Anyways, i am going to look around some more and see what i can find, havn't used much hex myself.