Search Wiki:
Resource Page Description
This sample demonstrates how to get a list of certain files of one directory (subdirectories included). The code then walks over the list of retrieved files to extract file information of each file which then gets displayed in a tabular way in a DataGridView.


Additional Resources
You can find a detailed explanation of this code on my blog on How to get a list of all files of a directory (subdirectories included)? and on When using LINQ to XML why don’t I get results if I don’t import a XML namespace?.

You need Visual Basic 2008 Express or above for this exapmle as I'm utilizing linq which got introduced in .NET Framework 3.5.


my blog
my code samples

P.S.: Please let me mw know if this code was helpful or not. If not, I’d appreciate if you could tell me what you were expecting. Thanks very much!
Last edited Sep 15 2009 at 4:37 AM  by Daniel_Walzenbach, version 5
Page view tracker