VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Shell integrated DirectoryTree control

Will Barden  (3 Submissions)   Custom Controls/Forms/Menus   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

This is not just a standard DirectoryTree control. It is enhanced over the various submissions here in several ways - firstly, it doesn't use the Dir$() command, or the FSO for two reasons: 1) speed, and 2) filesize (The FSO adds a huge dependancy). Instead, it uses API wherever possible. Secondly, it doesn't use dummy nodes to simulate children, but instead it popuplates each node fully, then uses the scarcely documented ApiSHChangeNotifyRegister API to register for shell change events (When a folder created, renamed, moved, or removed). This produces a control that is well integrated with Explorer.
Lastly, it has a right click menu to allow controls over the directories - renaming, creation and deletion. Any action you perform on the control will be performed on the local disk! If you rename your desktop, it will really be renamed! (So don't do it.. :D)
It's been tested on several Windows systems, but if you find any bugs, I'd love to know about them.
If you like it, vote. Thanks :)

Rate Shell integrated DirectoryTree control (9(9 Vote))

Download Shell integrated DirectoryTree control

Shell integrated DirectoryTree control Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters