Hello:
I need to create a data structure and the file has a single field per record, and it will be fixed length for each record.

For example FILE1.TXT
1234
3456
6789

FILE2.TXT
65432
76543
34567

FILE3.TXT
5467812
6583945
6958485

Is there a way to dynamically change the data structure during VB6 runtime?
The lenght is fixed inside a given file, but each file can have a different length from 3-10.

'Record data structure
Type tRec
strTMK As String * 5 (if FILE1.TXT this is 4, if FILE2.TXT this is 5, if FIL3.TXT this is 7, etc)
CR_LF As String * 2
End Type

Your help is much appreciated.

thanks
kp