Type CustType
Name as String
Data() as Integer
Dim Flags as Byte
Dim Flags2 as Byte
Dim Flags2 as Byte
Data2() as Integer
End Type

Dim Custs(5) as CustType

This is basically what i have in VB6, i write it to a file using

Put FileNum, , Custs

The problem is, i need to read this from another program, which is not coded in VB6, so i cant just use the same structure and use "get".

Can anyone help me read this file (for now, from VB6, but pretending i dont have the structure, just reading the integers and stuff one at a time)

I can get the Name, but the array of Integers, i cant figure out how it stores these in the file. Any help?