I am trying to read from a binary file. I am getting some weird input however.
The binary file is called "my file.bin" and contains these simple hex
characters:

F7 00 00 08 F0

I want to be able to insert every pair of hex data into a simple array. Here's
the code I've produced...

Private Sub button_Click()
Dim data As Integer
Dim small_array(1 to 5) as Integer
nFileNum = FreeFile
picBox.Cls

Open App.Path & "\" & "my file.bin" For Binary As #nFileNum

for i = 1 to 5
Get #nFileNum, i, data
small_array(i) = data
Next

for i = 1 to 5
picBox.print Hex(small_array(i))
Next

Close #nFileNum
End Sub


When the code is executed, I get this result:

F7 0 800 F008 F0

Can someone tell me what is happening, why Visual Basic is producing these
results, and how I can fix this? Thank you!