What is this:
\xFE\xFD\x00\x10\x20\x30\x40\xFF\xFF\xFF\x01
in Chr #'s?
Chr(254) & chr(253) & Chr(0) & ??
No clue! help!
Printable View
What is this:
\xFE\xFD\x00\x10\x20\x30\x40\xFF\xFF\xFF\x01
in Chr #'s?
Chr(254) & chr(253) & Chr(0) & ??
No clue! help!
Chr(254) & chr(253) & Chr(0) & chr(16) & chr(32) & chr(48) & chr(64) & chr(255) & chr(255) & chr(1)
VB Code:
Option Explicit Public Function HexToStr(ByVal Hex1 As String) As String Dim strTemp As String, strReturn As String, i As Long Hex1 = Replace(Hex1, " ", "") If Len(Hex1) Mod 2 <> 0 Then Exit Function For i = 1 To Len(Hex1) Step 2 strReturn = strReturn & Chr(Val("&H" & Mid(Hex1, i, 2))) & " " Next i HexToStr = Mid(strReturn, 1, Len(strReturn) - 1) End Function Private Sub Form_Activate() Dim SpltStr() As String, i As Integer SpltStr() = Split(HexToStr("FE FD 00 10 20 30 40 FF FF FF 01"), " ") For i = 0 To UBound(SpltStr) If SpltStr(i) <> vbNullString Then MsgBox Asc(SpltStr(i)) Next i End Sub
I like that Remix.. cool
Dream.. are u sure thats right? I came up with this:
Chr$(254) & Chr$(253) & Chr$(0) & Chr$(4) & Chr$(5) & Chr$(6) & Chr$(7) & Chr$(255) & Chr$(255) & Chr$(255) & Chr$(1)
which seems to work.. the server sends all the data back now!!