CFileDialog Tutorial : Step by step
This article explains how to use CFileDialog MFC class to call a file dialog and how to get selected file name. A tutorial which tells you how to use CFileDialog step by step.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: CFileDialog Tutorial : Step by step

Munisha dhingraPosted Jul 7, 2010, 9:04 PM EDT
Hi , we have a application which does the version check and generates a report.To save this report we are using DoModal function of FileDialog class.When we try to do version check list for 'C:\Windows\System32' folder that time doModal() crashes,save as dialog does not pop up. Do you have any idea why is it happening?Do you have any other solution? Thanks in advance.
FrancisPosted Jun 11, 2009, 2:29 PM EDT
This demo of File dialog is excellent. As is often the case, however, one good answer generates another question. And in my case I would like to know how to retrieve the names of the files when a user selects multiple files. Please help.