IMPORTANT: There is a very similar question titled "How can I make CommonOpenFileDialog select folders only, but still show files?". This qu