BCS Select File Or Directory

There are those occasions when a file or directory needs to be selected.  This utility handles all the idiosyncrasies of selecting a directory or a file.  A single dialog fulfills all requirements by allowing a Title for the dialog but the file selection dialog allows the user to specify file types to open.  If no file types are specified the default All Files | *.* file type is selected by default.

sdf01

The dialog to select a directory is shown below.

sdf02

The dialog to select a file is listed below.

sdf03png

A 32 bit executable program may be downloaded by clicking here.
A 64 bit executable program may be downloaded by clicking here.
The component documentation can be found by clicking here.
The source code may be found by clicking here.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.