VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

BrowseFolder Module

D.W.  (18 Submissions)   Files/File Controls/Input/Output   Beginner   Wed 3rd February 2021

For those that like to create objects on the fly and avoid extra controls, this shell interface module provides easy access to the BrowseForFolder dialog with drop down list support for constants and all system folders. It even creates them with their corresponding desktop.ini file and proper icon if not present already. Windows handles the NewFolder errors and error handling is included to rule out invalid paths.

Assumes
Copy and paste code into notepad and save as Browse.bas then run. Sample code is in the Sub Main() procedure.

Rate BrowseFolder Module (3(3 Vote))
BrowseFolder Module.bas

BrowseFolder Module Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters