Posted on: 7/24/2015 7:50:20 PM | Views : 763

I've been messing with this all day, and I'm just not getting the result I want. Currently I'm trying to take a 32-Bit Hex value and convert it to decimal.
I'm getting a result with everything I've tried, just not what I want (I'm getting nothing but negative numbers, and I didn't even know hex could be negative).
The value I'm trying to get is the one Microsoft's Calculator gives me. For example, if I provide the hex CD4E55C3, I should get 3444463043. Everything I'm trying gives me -850504253.
I've tried the following three ways (in various iterations):
Dim HexString as string = "&HCD4E55C3" msgbox(Val(HexString)) msgbox(Convert.ToInt32(HexString,16)) msgbox(CInt(HexString)) These were the primary three things I found on the Google (over and over again).
Any help would be appreciated!

Go to the complete details ...