Results 1 to 2 of 2

Thread: Decode Hex?

  1. #1

    Thread Starter
    Hyperactive Member vbzero's Avatar
    Join Date
    Aug 2000
    Location
    Vienna
    Posts
    347

    Question Decode Hex?

    I have a function that encodes any string into hex:

    Code:
    Public Function encHex(strValue As String) As String
    Dim i As Integer
    For i = 1 To Len(strValue)
    encHex = encHex + Hex(Asc(Mid(strValue, i, 1)))
    If (Len(encHex) Mod 2) = 0 Or (Len(encHex) - 1 Mod 2) Then
    encHex = encHex
    End If
    Next i
    encHex = Trim(encHex)
    End Function
    Now I need to reverse that function to decode it.

    thx in advance!

  2. #2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width