Click here to Skip to main content
15,886,258 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 227.1K   2.9K   55  
This article presents a 'cut-n-paste' solution for getting the path to a directory.
// stdafx.cpp : source file that includes just the standard includes
// GetFolder_Demo.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"

// TODO: reference any additional headers you need in STDAFX.H
// and not in this file

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