|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Thanks Mythranfor some reason I can only post new message, not followups.
can you give me a small example how to read binary to byte array? "Quinn" <q***@yahoo.com> wrote in message You're using Outlook Express and can't post replies to threads? How come? Is news:eNGjS$wuGHA.1216@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? the button "greyed" out? -- Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com Please keep all discussions in the groups.. In Loving Memory - http://www.vbsight.com/Remembrance.htm "Quinn" <q***@yahoo.com> wrote in message Dim stream As FileStream = File.OpenRead("C:\images\test.gif")news:eNGjS$wuGHA.1216@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? > 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
Must call RemoveHandler after AddHandler?
IIS - Cannot create ActiveX component VS 2005 freezes during code editing (HotFix 917452) How to raise an event when a transaction is rollbacked .Net combo box - what is "opposite" of DropDown event? add row ro gridview Simple SQL question Configuration file Software process question problem to read binary file |
|||||||||||||||||||||||