Tuesday, April 3, 2007

ASP.NET Forums - Listing the contents of a folder

ASP.NET Forums - Listing the contents of a folder: "Listing the contents of a folder "
Dim dir As System.IO.DirectoryInfo Dim files() As System.IO.FileInfo 'array of fileinfo objects
'get the specified directory dir = New System.IO.DirectoryInfo("d:\hosting\dan")
'find all files in that directory files = dir.GetFiles()

No comments: