Hi, I have a file (.bin) that is compressed with the following information:

Color Food Color Food Color Food ............... (until end of file)

For each string, it'd be 10 bytes long. So I'd read the first 10 bytes, it'd be color1, next 10 bytes, it'd be food1, next 10 bytes, would be color2.... etc.

How do I:

Process and read the binary file, and for each item read, throw into a structure of array

VB Code:
  1. Public Structure AboutFoods
  2.    Dim Color as String
  3.    Dim Food as String
  4. End Structure

So I'd have an array for Color, an array for Food?

Thanks ....