MrKrich,
You can use Convert.ToInt32 to go from a string to an integer.
You can use Convert.ToString to go from a integer to a String.
Both support both Hex & Binary, as well as octal & decimal (2, 8, 10, or 16
from base)
Dim s As String = "fab4"
Dim i As Integer = Convert.ToInt32(s, 16)
Dim s2 As String = Convert.ToString(i, 2)
Dim i2 As Integer = Convert.ToInt32(s2, 2)
Hope this helps
Jay
"MrKrich" <Mr*****@discussions.microsoft.com> wrote in message
news:E0**********************************@microsof t.com...
I want to convert Hexadecimal or normal integer to Binary. Does VB.Net has
function to do that? I only found Hex function that convert normal integer
to Hexadecimal.