kor81
08-09-2012, 07:18 PM
Each line of text in RichTextBox1 needs to be added to Listview2. How can i achieve this?
My Code that adds all text in one line
Dim str() As String = kiword.RichTextBox1.Text.Split(CChar(vbNewLine))
Dim i As Integer = 0
Do
kiword.ListView2.Items.Add(str(i))
i += 1
Loop Until i = str.Count
My Code that adds all text in one line
Dim str() As String = kiword.RichTextBox1.Text.Split(CChar(vbNewLine))
Dim i As Integer = 0
Do
kiword.ListView2.Items.Add(str(i))
i += 1
Loop Until i = str.Count