Friday, February 05, 2010

VB.net Hex2Dec

I found this trying to convert string hex value "B4" to a byte value.

dim myHex as string="B4"
Dim value As byte = Byte.Parse(myHex,Globalization.NumberStyles.HexNumber)

simple isn't it, when you find the correct function to do it.

No comments:

MySQL to MariaDB

 Here is a good description how to migrate to MariaDb MySQL to MariaDb Example of how to dump data from MySQL port=3307: mysqldump --user=ro...