Click here to Skip to main content
15,879,474 members
Articles / Desktop Programming / MFC

How to Browse for a Folder

Rate me:
Please Sign up or sign in to vote.
4.88/5 (20 votes)
16 Feb 20061 min read 226.6K   2.9K   55  
This article presents a 'cut-n-paste' solution for getting the path to a directory.
========================================================================
    CONSOLE APPLICATION : GetFolder_Demo Project Overview
========================================================================

AppWizard has created this GetFolder_Demo application for you.  
This file contains a summary of what you will find in each of the files that
make up your GetFolder_Demo application.


GetFolder_Demo.vcproj
    This is the main project file for VC++ projects generated using an Application Wizard. 
    It contains information about the version of Visual C++ that generated the file, and 
    information about the platforms, configurations, and project features selected with the
    Application Wizard.

GetFolder_Demo.cpp
    This is the main application source file.

/////////////////////////////////////////////////////////////////////////////
Other standard files:

StdAfx.h, StdAfx.cpp
    These files are used to build a precompiled header (PCH) file
    named GetFolder_Demo.pch and a precompiled types file named StdAfx.obj.

/////////////////////////////////////////////////////////////////////////////
Other notes:

AppWizard uses "TODO:" comments to indicate parts of the source code you
should add to or customize.

/////////////////////////////////////////////////////////////////////////////

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
CEO Aspen Insights
United States United States
Walter Storm is currently doing quantitative research and data science. Originally from Tunkhannock, PA., he has a B.S. in Aerospace Engineering from Embry-Riddle Aeronautical University[^], and an M.S. in Systems Engineering from SMU[^]. He has been professionally developing software in some form or another since January of 2001.

View Walter Storm's profile on LinkedIn.[^]

Comments and Discussions