VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Shell integrated DirectoryTree control

by Will Barden (3 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (9 Votes)

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

Download Shell integrated DirectoryTree control

Download Shell integrated DirectoryTree control (17 KB)

Shell integrated DirectoryTree control Comments

No comments have been posted about Shell integrated DirectoryTree control. Why not be the first to post a comment about Shell integrated DirectoryTree control.

Post your comment

Subject:
Message:
0/1000 characters