|
-
December 23rd, 2011, 01:30 AM
#1
Change Data Structure Length during VB6 runtime?
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|