Hi!
This saves data from column1 in a Listview to disk like: 2005-09-20.txt
I've come so far in my research:
Dim fs As New FileStream("C:\ " &
MyCalendar.Toda yDate.ToShortDa teString() & ".txt",
FileMode.OpenOr Create)
Dim sw As New StreamWriter(fs )
fs.Flush()
sw.Flush()
Dim r1 As Integer
For r1 = 0 To lstMyList.Items .Count - 1
sw.WriteLine(ls tMyList.Items.I tem(r1).Text)
Next
sw.Close()
fs.Close()
However, how am I about to cycle through the second column and write it
to the same textfile?
The listview has two columns. Column1 will hold time like:
07:00
07:30....etc
Column2 will hold text, so it will look like:
07:00 Remember to eat something
07:30 Get dressed
Hope anybody can give me a better understanding on this subject.
Me.Name