Can someone help me how I can get C:\test\ folder's subfolders and theirs last written date in two differents column with listview component?
Or give me some code tips?
Dim info As New IO.DirectoryInfo("C:\test")
For Each subfolder In info.GetDirectories
ListView1.Items.Add(subfolder.Name).SubItems.Add(subfolder.LastWriteTime.ToShortDateString)
Next
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.