Reading through some old code for doing some data that is streamed from a database. Not super familiar with VB6.
This is a rough idea of what the code looks like. Just not entirely sure what the value of x or y would be? What does *&H100& do? What does Chr$(b(3)) do?
Private Sub Sub1()
Dim b() as Byte
' b is then read from a file, a bytes string, or from a database object
x = 0
x = b(1) + b(2) * &H100&
y = ""
y = y & Chr$(b(3))
End Sub