[VB 2008]read,write and use multiline strings to/from a file

dinamo12221

New member
Joined
Sep 9, 2009
Messages
1
Programming Experience
Beginner
Hi.I need your help with a few things:
1.Read the line by line text from a text file in a dynamic listbox
VB.NET:
Dim mylist As New ListBox
and then read each line from the text file to 'mylist'

2.use some of the items in the dynamic listbox
for example let's say that line number 4 is a string location.i would like for example to do something like:
VB.NET:
Picturebox1.imagelocation = mylist.Items.Item(Line number 4).ToString

3.Write the dynamic listbox that i talked about at nr 1 to the text file.And that line by line, so that the process can be repeated starting with point 1.

Thanks
 
Top Bottom