OzzieBloke
Programmer
Hi, I have a list box, called List1. This list box is filled with information gathered from a file, called source.txt.
My problem is that i want to edit a piece of data without messing up the order. My solution would be to copy all of the data above the selected item to one file, copy all of the data to another file, and then copy the data that is to be edited to yet another file. Then once all editing is done merge the three files back together.
I know how to copy all data from one file to another, and merge the three files. However I don't know how to copy data up to a certain point.
My problem is that i want to edit a piece of data without messing up the order. My solution would be to copy all of the data above the selected item to one file, copy all of the data to another file, and then copy the data that is to be edited to yet another file. Then once all editing is done merge the three files back together.
I know how to copy all data from one file to another, and merge the three files. However I don't know how to copy data up to a certain point.