|
-
August 17th, 2004, 02:04 PM
#1
Need to recreate the directory tree from Windows Explorer...
In several applications, we need to be able to provide the ability to browse through the network as well as the local machines. In the past, we have relied on the Windows Common Control or implementing the SHBrowseForFolder from Shell32 to have access to Network Neighborhood as well as the local machine.
However, new requirements require this to be similar to Windows Explorer...where we are selecting the directory and filename seperate and in conjunction with other selections and controls.
Does anyone know of a control that will reproduce the left pane of Windows Explorer (the directory tree with appropriate icons) or the directory pulldown box used in the Common Control?
Thank you in advance for any suggestions...
Last edited by Vince Martinez; August 17th, 2004 at 02:05 PM.
Reason: (title was not specific enough)
-
August 17th, 2004, 06:20 PM
#2
have a look at ImageCombo (for address combo) and at Treeview control
(for left panel ). They are in the "windows common control 6.0" group
Last edited by Cimperiali; August 17th, 2004 at 06:22 PM.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
-
August 18th, 2004, 08:15 AM
#3
 Originally Posted by Cimperiali
have a look at ImageCombo (for address combo) and at Treeview control
(for left panel ). They are in the "windows common control 6.0" group
Thank you for the tip...my only problem with that is how do I get the directory heirarchy to populate those controls , complete with the folder type to know which icons to use? (for example floppy, CD, or network paths) I've always assumed there was a way to get that data...but I haven't found the one that allows me to pull that information with "My Documents", "My Computer", and "My Network Places" as the 1st tier.
I was hoping that there was a 3rd party tree view and combo that would already encapsulate this functionality. (It seems like this would be a common problem/request.) But it looks like I'll have to code it myself.
Thanks again...
-
August 20th, 2004, 06:55 AM
#4
Have a look at filesystem object
(menu->Project->references->Microsoft Scripting Runtime)
...

More tips:
http://www.codeguru.com/forum/showth...leSystemObject
http://www.codeguru.com/forum/showth...leSystemObject
Last edited by Cimperiali; August 20th, 2004 at 06:58 AM.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|