by JesusFreak on VB.NET Read Comments Rate this resource Viewed 23829 times Rating: 41 users 4.11 out of 5 Next > A little code snippet that lists files in a directory. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' make a reference to a directory Dim di As New IO.DirectoryInfo("c:") Dim diar1 As IO.FileInfo() = di.GetFiles() Dim dra As IO.FileInfo 'list the names of all files in the specified directory For Each dra In...
http://www.developerfusion.com/show/3681/