Quantcast
Channel: De ASCII a Hexadecimal
Viewing all articles
Browse latest Browse all 3

De ASCII a Hexadecimal

$
0
0

Hola, tengo el siguiente código para pasar a hexadecimal:

Function PasoAHex(ByVal TramaRecibida As String, ByVal ConvertToHex As Boolean) As String
        PasoAHex = ""
        For Each c As Char In TramaRecibida
            PasoAHex &= Hex(Asc(c))
        Next
        Return PasoAHex
    End Function

El caso es que cuando el valor en hexadecimal debería ser 01 o 06 (por poner dos ejemplos), me sale 1 o 6. Me interesaría que también me saliera el 0, como lo pedo hacer?

gracias y buen verano!!!


Viewing all articles
Browse latest Browse all 3

Trending Articles


FORTUITOUS EVENT


Hato lada ym dei namar ka jingpyrshah jong U JJM Nichols Roy (Bah Joy) ngin...


FORECLOSURE OF REAL ESTATE MORTGAGE


Presence Quotes – Positive Quotes


Long Distance Relationship Tagalog Love Quotes


INUMAN QUOTES


RE: Mutton Pies (frankie241)


EASY COME, EASY GO


UPDATE SC IDOL: TWO BECOME ONE


Pokemon para colorear


Ka longiing longsem kaba skhem bad kaba khlain ka pynlong kein ia ka...


Maganda Quotes – tagalog Quotes – Inggit Quotes


Sapos para colorear


Smile Quotes


Love with Heart Breaking Quotes


Re:Mutton Pies (lleechef)


Vimeo 10.7.0 by Vimeo.com, Inc.


Vimeo 10.7.1 by Vimeo.com, Inc.


KASAMBAHAY BILL IN THE HOUSE


Girasoles para colorear



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>