From
Code:
Return hexstring
To
Code:
converttoHex = hexstring
[/B][/QUOTE]

and why this?
the right way is Return, the function=value its from the old vb6 if i am not in error and i think its not the best way to do it lol