Hey all,
When I try to write to a file putting data from two list boxes it is adding an extra space in between the two list boxes data that is messing up my order when putting them back into the listboxes.
Here is my code... why is it putting a space after lstDisplay1's data is put into the file??
VB Code:
Dim j As Integer Open Dir & File1.List(File1.ListIndex) For Output Lock Read As #1 For j = 0 To lstDisplay1.ListCount Print #1, lstDisplay1.List(j) Next Print #1, "//" For j = 0 To lstDisplay2.ListCount Print #1, lstDisplay2.List(j) Next Close #1




Reply With Quote