Hi guys, could someone point me in the right direction please?
I have 2 list boxes, the first one (lstFullFileContents) contains all lines within a specific file.
I would then like to extract a certain line, in this case always line 5 from that list box to another (lstListBox1)...
Getting lstFullFileContents to show all the lines isn't hard,
Dim line As String
line = sr.ReadLine()
lstFileFullContents(line)
I thought there would be a copy command I could use maybe... but the only one I could find copies the whole list box contents...
Any ideas please?
Many thanks.
I have 2 list boxes, the first one (lstFullFileContents) contains all lines within a specific file.
I would then like to extract a certain line, in this case always line 5 from that list box to another (lstListBox1)...
Getting lstFullFileContents to show all the lines isn't hard,
Dim line As String
line = sr.ReadLine()
lstFileFullContents(line)
I thought there would be a copy command I could use maybe... but the only one I could find copies the whole list box contents...
Any ideas please?
Many thanks.