Populate ListView Box with Current Directory Info

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I populate a ListView Box with the current directory, filename, file
length, date created and date last modified?
I can get the current directory and length by using

Dim Path As String = System.IO.Directory.GetCurrentDirectory()

With Me.ListViewBox1
Item = New ListViewItem(Path)
Item.SubItems.Add(Path.Lenght)
..Items.Add(Item)
End With

But that’s all I can do. I would like to use a For Each Loop to iterate thru
each file till I come to the end.
Any ideals
 
Back
Top