Display the Browse for Folder Dialog
Category:Files and Directories
Version Compatibility: Visual Basic 6, Visual Basic 5
Use this code to display the browse for folder dialog box. It is much simpler to use than the VB drive and directory controls included with the VB IDE. The parameters to pass are simple: The handle to the form that you want to be the owner of the dialog, and the prompt text for the dialog box.
Instructions: Copy the declarations and code below and paste directly into your VB project.