The easiest way to do this in Visual C++ is probably to use the CFileDialog class. You can find some examples in the CFileDialog documentation, such as in the documentation for the CFileDialog::DoModal method. You can find several more examples via Google.