Quote Originally Posted by SJWhiteley View Post
Yes, do as ForumAccount shows, but use base 16 instead and your 'raw' string. It'll convert to an unsigned 64bit integer.
I tried that, as I have the string in HEX I converted back to "raw" string which is what I would normally receive, then I did the convertion to base 16.

Code:
            Dim strTMP As String
            strTMP = "2A000000412DF21B"

            Dim intX As Integer, strEvent As String = ""

            For intX = 1 To strTMP.Length Step 2
                strEvent &= Chr(Val("&H" & Mid(strTMP, intX, 2)))
            Next

            Debug.WriteLine(Convert.ToUInt64(strEvent, 16))
I get the following error

Convert.ToUInt64(strEvent, 16) Run-time exception thrown : System.FormatException - Could not find any recognizable digits.
What am I doing wrong?

Thanks for all the help.
Jim