Textbox1.text to Hex and convert to little endian

  • Thread starter Thread starter extream87
  • Start date Start date
E

extream87

Guest
Hello, im trying to input an number into my textbox1.text then when i click button 1 i want the textbox1.text will be converted into hex then convert it to little endian.


Im using this but im getting error:

Dim i As Integer = Hex(TextBox1.Text)
Dim abyt() As Byte = BitConverter.GetBytes(i)
If BitConverter.IsLittleEndian Then
Array.Reverse(abyt)
MsgBox(abyt.ToString)
End If
End Sub

Continue reading...
 
Back
Top