hi All,
I have a question regarding Integer.Parse. I'm doing the following:
Dim H_cid1, H_cid2 as String
Dim I_cid1, I_cid2 as Integer
H_cid1 = "BFEBFBFF"
H_cid2 = "00000F29"
I_cid1 = Integer.Parse(H_cid1, Globalization.NumberStyles.HexNumber)
I_cid2 = Integer.Parse(H_cid2, Globalization.NumberStyles.HexNumber)
I_cid1 should be 3219913727. However, what I'm getting is -1075053569 (which
is FFFFFFFFBFEBFBFF in Hex).
I_cid2 should be 3881 and I_cid2 does equal 3881.
Anyone know why I_cid1 is not being converted correctly (or if it's being
converted correctly, why I'm not getting the value I expect!)
TIA,
Lee