Monthly Archives: June 2013

VB.Net Hexadecimal/Binary to Integer

752I needed a way the other day to convert a few hexadecimal and binary addresses to integers. I figured I would share what I found. Below you will find the way to convert to and from arbitrary bases in vb.net.

-Mike

 

Binary to Integer

Replace “binary” with the binary number.

Convert.ToInt32(binary, 2)
 

Hexadecimal to Integer

Replace “hex” with the hexadecimal code.

Convert.ToInt32(hex, 16)
 

Welcome to iBeta.org

Here I will blog about the random things related to technology and other items that I get into as time progresses. I hope that here I can share things that I know or learn on my journeys that may help others with similar interests. If you like what you read, please share and help me grow the site further. Feel free to comment and let me know your thoughts on particular articles and if you have anything to share please do so!

-Mike