HowTo: Add a textfile to a Listview

motti100

Member
Joined
Mar 6, 2005
Messages
19
Programming Experience
1-3
I have a textfile that has error logs in it.
I am trying to read the file and print the lines in a Listview.

My problem is that all the lines are printed in ONE line.
I have used the vbclfr and chr(10)+chr(13) and it still is not broken up.

Please help.

Thanks
 

TPM

Well-known member
Joined
Dec 7, 2004
Messages
623
Location
CA
Programming Experience
3-5
You want to read one line at a time and add line by line as you go.

TPM
 

levyuk

Well-known member
Joined
Jun 7, 2004
Messages
313
Location
Wales, UK
Programming Experience
3-5
you could try spliting the line into lines then adding them to the listbox
 
Top Bottom