[Help]List View[Solved]
I have:
I have two columns in a list view and I'm trying to get it to where you browse for a file it inserts the name in the first column then the file path in the second...I can't get it to insert the path into the second, its inserting it into the first one 2nd line. Help?
Then I want to take those file names and insert them into a text box, like button 3 hit and it inserts column 1 line 3 into the text box.
+Rep +1 Thanks.
Code:
OpenFileDialog1.ShowDialog()
Dim FileName As String
FileName = OpenFileDialog1.FileName.Substring(OpenFileDialog1.FileName.LastIndexOf("\"))
Dim FileName2 As String = FileName.Replace("\", "")
ColumnHeader1.ListView.Items.Add(FileName2)
ColumnHeader2.ListView.Items.Add(OpenFileDialog1.FileName)
Then I want to take those file names and insert them into a text box, like button 3 hit and it inserts column 1 line 3 into the text box.
+Rep +1 Thanks.
