I had this in VB 6:
public type Data
no1(49) as byte
no2(49) as byte
Then in the program I read bytes (byte by byte) from a file with this statement:
Get #1, , Data
This cause single bytes from a file to populate 'no1' and no2' alternating until
the file is read to the end.
I just cannot figure out how to do the same thing in vb.net, specifically vb2010.
I have tried this:
Using fsSource As FileStream = New FileStream(pathSource, _
Data.No1(i) = fsSource.ReadByte
Data.No2(i) = fsSource.ReadByte
increase += 1
Any suggestions? Thanks in advance