Open Folders As Windows from VB5

By | 2002-06-01

This code is for those people who want to open up folders/directories as separate windows, as compared to the alternative fileboxes.

Original Author: Ted R. Smith

Assumptions

Nothing

Returns

Opens a folder/directory in a separate window

API Declarations

Code

Directory = "C:"
Shell "Explorer " + Directory, vbNormalFocus
' The above code opens the C: directory as a new window

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.