VB6 Sorting records
VB6 Sorting records
(OP)
I need to read a file containing about 250,000 records, sort them, and write the resulting list to another file.
List boxes are restricted to an index of 32,767. Although I can enter more items in a sorted listbox and refer to them in order by reading the first index, then deleting it so that the next list item is available, the sorting is far too slow.
Is an array of records using a sorting algorithm the best answer?
Any brillaint solutions anyone?
List boxes are restricted to an index of 32,767. Although I can enter more items in a sorted listbox and refer to them in order by reading the first index, then deleting it so that the next list item is available, the sorting is far too slow.
Is an array of records using a sorting algorithm the best answer?
Any brillaint solutions anyone?





RE: VB6 Sorting records
Alternatively, unless this specifically needs to be done through VB, you could use MS Excel.
RE: VB6 Sorting records
Would recommend it to anyone sorting large files.