Saving data from a ListView to disk?

  • Thread starter Thread starter gsb58
  • Start date Start date
G

gsb58

Hi!

I have a Listview, with two columns, that is being filled like this at
startup:

Col1 Col2
=============================
06:00 Make some coffee
06:30 Eat something

.....and so on.

Now, user can click an index and through an inputbox, add or change
text only to the second column. I get the time user click's through:

lstMyList.SelectedItems(intTeller).Text

and the indexnr through:

lstMyList.SelectedIndices(intTeller).ToString()

However...

1. Can anybody show me how I add text from the Inputbox to the second
column of the selected index?

2. Can anybody show me how can I save this data, from the lstMyView, to
disk into a MyFile.txt?

3. Can anybody show me how I load data from disk into the ListView?

Thanks in advance!
Me.Name
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top