Chilkat HOME Android™ ASP Visual Basic VB.NET C# iOS (IPhone) Objective-C C++ C Unicode C++ Unicode C MFC Delphi DLL Delphi ActiveX FoxPro Java Perl PHP Extension PHP ActiveX Python PowerShell Ruby SQL Server VBScript
Convert Hex String to BytesConvert a hexidecimal string to a Visual Basic byte array.
' Byte array in Visual Basic 6.0 Dim arr() As Byte Dim crypt As New ChilkatCrypt2 Dim success As Long success = crypt.UnlockComponent("Anything for 30-day trial") If (success <> 1) Then MsgBox crypt.LastErrorText Exit Sub End If ' Decode a hex string to a byte array: Dim hexStr As String hexStr = "0102030405060708090A0B0C0D0E0F" arr = crypt.Decode(hexStr,"hex") ' For i = LBound(arr) to UBound(arr) Print arr(i) Next |
© 2000-2013 Chilkat Software, Inc. All Rights Reserved.