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
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.