I have a txt file that I need to read into a listview, but I need to read from a specific line in that file. Can someone point me in a direction on doing this.

Below is a sample of the txt file to read,

6400,3200,2,95.5,84,76.6,0
1,2,-20,15,0,0,0,"NO",0,0
TOTAL GPM= 6400 HWT= 95.5 CWT= 84.0 IWBT= 76.6 ALTITUDE= 0
MIN CELLS= 1 MAX CELLS= 2 MIN RSRV=%-20 MAX RSRV=15
0,"P1626",1,1,1,1,2,-18.4,5407,2704,2955,-8.5,50,144,180,66,12,234207,239827 'start at his line
1,"P1626",1,1,1,1,2,-12,5714,2857,3159,-9.6,60,144,180,66,12,248567,254364
2,"P1628",1,1,1,1,2,-16.3,5501,2751,3073,-10.5,50,144,180,66,14,238599,245506
3,"P1628",1,1,1,1,2,-10.1,5812,2906,3258,-10.8,60,144,180,66,14,253159,260263
4,"P1628",1,1,1,1,2,-5.1,6088,3044,3376,-9.8,70,144,180,66,14,266139,273404
5,"P2028",1,1,1,1,2,-16.4,5497,2749,2952,-6.9,30,144,228,66,14,234169,240734

Edited 6 Years Ago by Bold Eagle: n/a

Dim lines As String() = IO.File.ReadAllLines("C:\!vb.net\temp.txt") '// your file here
        For i As Integer = 4 To lines.Count - 1 '// start at line 5
            ListView1.Items.Add(lines(i))
        Next
This question has already been answered. Start a new discussion instead.