How to Populate a Listbox from text file

September 25, 2009 at 23:16:30
Specs: Windows 7
I need to know how to populate a Listbox with a
TextFile. I have tried ReadLine but it only adds
the first line to the Listbox.
After adding the TextFile to the Listbox, i need to
know how to Edit the contents of the listbox.

See More: How to Populate a Listbox from text file

Report •


#1
September 26, 2009 at 05:53:45
I have tried ReadLine but it only adds the first line to the Listbox.
Then use a loop.

i need to know how to Edit the contents of the listbox.
Though the ListBox.Items property, I assume.


Report •

#2
September 27, 2009 at 18:50:34
yes, i used listbox->items->Add but it only adds the 1st line

Report •

#3
September 27, 2009 at 19:30:06
Razor2.3: Then use a loop.

Report •

Related Solutions


Ask Question