-
Is there anyway I can get the contents of a Directory List Box to show up in a tree view, only displaying from a directory I select instead of C:\ AND displaying files of a specified type along with the directories? I want to make it for a Internet Favorites type of thing, NOT IN A TYPICAL MENU, but for an example of what I want, just goto the Favorites menu in Internet Explorer and I want all the favorites like that, except in a Tree View box. Is this possible, if so, how?
-
I'm in the works of a project that demonstrates how one could create and entire Windows Explorer clone out of an Image Combo, Treeview, and listview, but it is a tad bit complicated, a still aways from completion.
The basic idea, is to use the registry to determine what icons to use for folders, drives, recycle bin etc (although in your case it seems you'd only need the folders) and then loop throgh each folder using Dir() function to display each subfolder. To display an icon for a file, I either use ExtractAssosiatedIconEX() or SHGetFileInfo() API's which are discussed at www.vbapi.com.
Wish I could be of more help.