So I followed MS article http://msdn.microsoft.com/en-us/library/ms171645.aspx
This is Creating an Explorer Style Interface with the ListView and TreeView Controls Using the Designer.
So all is well, howerver, is you set it to the root of C to scan all the folders and files etc. I receive {"Access to the path '<path to file' is denied."}
VS 2010 points this spot that is the issue.
subSubDirs = subDir.GetDirectories();
I can put a try catch around this are, howerver, after the exception is thrown the app doesn't continue.
Is there a way I can skip directories that the app cannot access?
You might have the try catch in the wrong place. Based on the code in the walkthrough you could put the try catch like this:
Replace:
with this:
Also, the line:
should be changed to: