I have converted a MFC application which was run on VS2005 to VS2010 In there I've functionality to select either a file or folder from CSelectDialog and it worked fine.
But when I convert the project into VS2010 now I can select files only. How can I get rid of that? I couldn't find any libraries that I can use for this.
Simply I want to select either a file or folder using MFC in VS2010
Don't consider this as a duplication of
or
How do you configure an OpenFileDialog to select folders?
Because those answers are not applicable to this.