Josh Dycus

Josh Dycus

  • NA
  • 11
  • 20.4k

List specific directories in a listview

Jan 20 2011 9:36 AM
Hello.  I'm still kind of new to C# so I don't know if this is a newbie question or not.  I am making a small application for backing up people data.  I want to list only certain directories in a listview(ie. my documents, outlook folder, folders like that). I can enter all the folders manually at runtime into the list view and it works.  I was just wondering is there a way to maybe loop through the user's profile folder and automatically list these folders in a list view instead of inserting them all manually? I hope I explained that well enough.

Thanks in advance.



Answers (2)