"Quinn" <qj**@yahoo.comwrote in message
news:eN**************@TK2MSFTNGP03.phx.gbl...
for some reason I can only post new message, not followups.
can you give me a small example how to read binary to byte array?
Dim stream As FileStream = File.OpenRead("C:\images\test.gif")
Try
Dim reader As BinaryReader = New BinaryReader(stream)
Dim bytes As Byte() = reader.ReadBytes(CInt(stream.Length))
Finally
' Cleanup.
stream.Close()
End Try
HTH,
Mythran