Resolved BinaryReader.ReadByte

jcardana

Old to VB6, New to VB.NET
Joined
Oct 26, 2015
Messages
43
Location
Rio Rancho, NM
Programming Experience
Beginner
First of all, is the BinaryReader the way to read a specific section of data in a file?

Here's what I'm doing...
I'm making a File Manager for the Preset and Music files created by a Lowrey organ. I need to read "Preset" information from a data file. First I'm getting the "Preset Filename" which is not the actual OS filename, but the name of the file that the organ uses. Then I need to get the "Preset Names". Each Preset file, contains records pertaining to each of the 55 presets.

Here's what I'd like to do...
I'd like to only read the sections of the files that I need to extract the various names. In VB6, I could set the ReadPosition and then read the length I needed to.

I'm reading up on the BinaryReader.ReadByte, but I don't see how I can set the Character Position.

Thank you for your time,
Joe
 
I found the FileStream... it seems to be working so far
 
Solution
Back
Top