473,748 Members | 2,161 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Explorer-style Combobox/Treeview Control

Hey,
I'm trying to find code for an Explorer-style Directory ComboBox. (You know, it display "Desktop", "My Computer", all drives, etc., but it has a treeview control inside the combobox so that you can navigate through the file system as well.) I've found some on the web, but all of them just have the drives and desktop directories and are static in that you cannot expand the directories. I normally build a treeview control to do it with, but this time I want a combobox/tree view combination control like Windows has. If anyone has code for this, knows where some is, or has the know-how to help me out I'd really appreciate it!

Thanks

------------------------------------
Ben Coats
..Net Developer
Newberry Pathology Associates
Newberry, SC, USA
Nov 20 '05 #1
4 14179
http://www.codeproject.com/vb/net/
use ur search and look for xp styles in this website
regards

Ben Coats wrote:
Hey,
I'm trying to find code for an Explorer-style Directory ComboBox. (You know, it display "Desktop", "My Computer", all drives, etc., but it has a treeview control inside the combobox so that you can navigate through the file system as well.) I've found some on the web, but all of them just have the drives and desktop directories and are static in that you cannot expand the directories. I normally build a treeview control to do it with, but this time I want a combobox/tree view combination control like Windows has. If anyone has code for this, knows where some is, or has the know-how to help me out I'd really appreciate it!

Thanks

------------------------------------
Ben Coats
.Net Developer
Newberry Pathology Associates
Newberry, SC, USA


Nov 20 '05 #2
I searched for "XP styles" as you said, but found nothing on the site at all related to the combination combobox/treeview directory selection control that is available in Windows Explorer. I have searched EVERYWHERE looking for info on where to get this control, or what ocx/dll file it is contained in, or where in the Windows API I can find it, but I have had no success. Since it has been part of Windows Explorer (and the open/save file dialogs) ever since Win95 or 98, I can't see how it can be that I can't find anywhere where someone else uses it. Everyone uses the treeview/listview controls together, instead of using that one control. If I had the know-how I'd make the control myself, but I've tried and haven't had any luck...If I add the treeview control to the controls collection of a combobox, and add items to the treeview, the combobox doesn't drop down, and I can only view one item of the treeview at a time. Somebody please help poor old me! :-)

------------------------------------
Ben Coats
..Net Developer
Newberry Pathology Associates
Newberry, SC, USA
"Supra" wrote:
http://www.codeproject.com/vb/net/
use ur search and look for xp styles in this website
regards

Ben Coats wrote:
Hey,
I'm trying to find code for an Explorer-style Directory ComboBox. (You know, it display "Desktop", "My Computer", all drives, etc., but it has a treeview control inside the combobox so that you can navigate through the file system as well.) I've found some on the web, but all of them just have the drives and desktop directories and are static in that you cannot expand the directories. I normally build a treeview control to do it with, but this time I want a combobox/tree view combination control like Windows has. If anyone has code for this, knows where some is, or has the know-how to help me out I'd really appreciate it!

Thanks

------------------------------------
Ben Coats
.Net Developer
Newberry Pathology Associates
Newberry, SC, USA


Nov 20 '05 #3
Hi,

It's in C# but I think this is what you are looking for.
http://www.codeproject.com/cs/miscctrl/ComboBoxTree.asp

Ken
---------------

"Ben Coats" <Be******@discu ssions.microsof t.com> wrote in message
news:9C******** *************** ***********@mic rosoft.com:
I searched for "XP styles" as you said, but found nothing on the site at
all related to the combination combobox/treeview directory selection control
that is available in Windows Explorer. I have searched EVERYWHERE looking
for info on where to get this control, or what ocx/dll file it is contained
in, or where in the Windows API I can find it, but I have had no success.
Since it has been part of Windows Explorer (and the open/save file dialogs)
ever since Win95 or 98, I can't see how it can be that I can't find anywhere
where someone else uses it. Everyone uses the treeview/listview controls
together, instead of using that one control. If I had the know-how I'd make
the control myself, but I've tried and haven't had any luck...If I add the
treeview control to the controls collection of a combobox, and add items to
the treeview, the combobox doesn't drop down, and I can only view one item
of the treeview at a time. Somebody please help poor old me! :-)

------------------------------------
Ben Coats
.Net Developer
Newberry Pathology Associates
Newberry, SC, USA
"Supra" wrote:

HYPERLINK
"http://www.codeproject .com/vb/net/"http://www.codeproject .com/vb/net/
use ur search and look for xp styles in this website
regards

Ben Coats wrote:

Hey,
I'm trying to find code for an Explorer-style Directory ComboBox.
(You know, it display "Desktop", "My Computer", all drives, etc., but it has
a treeview control inside the combobox so that you can navigate through the
file system as well.) I've found some on the web, but all of them just have
the drives and desktop directories and are static in that you cannot expand
the directories. I normally build a treeview control to do it with, but
this time I want a combobox/tree view combination control like Windows has.
If anyone has code for this, knows where some is, or has the know-how to
help me out I'd really appreciate it!

Thanks

------------------------------------
Ben Coats
.Net Developer
Newberry Pathology Associates
Newberry, SC, USA



--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 263.1.2 - Release Date: 6/7/2004
Nov 20 '05 #4
This is EXACTLY what I'm looking for! Thank you SOOO much!!!

------------------------------------
Ben Coats
..Net Developer
Newberry Pathology Associates
Newberry, SC, USA
"Ken Tucker [MVP]" wrote:
Hi,

It's in C# but I think this is what you are looking for.
http://www.codeproject.com/cs/miscctrl/ComboBoxTree.asp

Ken
---------------

"Ben Coats" <Be******@discu ssions.microsof t.com> wrote in message
news:9C******** *************** ***********@mic rosoft.com:
I searched for "XP styles" as you said, but found nothing on the site at
all related to the combination combobox/treeview directory selection control
that is available in Windows Explorer. I have searched EVERYWHERE looking
for info on where to get this control, or what ocx/dll file it is contained
in, or where in the Windows API I can find it, but I have had no success.
Since it has been part of Windows Explorer (and the open/save file dialogs)
ever since Win95 or 98, I can't see how it can be that I can't find anywhere
where someone else uses it. Everyone uses the treeview/listview controls
together, instead of using that one control. If I had the know-how I'd make
the control myself, but I've tried and haven't had any luck...If I add the
treeview control to the controls collection of a combobox, and add items to
the treeview, the combobox doesn't drop down, and I can only view one item
of the treeview at a time. Somebody please help poor old me! :-)

------------------------------------
Ben Coats
.Net Developer
Newberry Pathology Associates
Newberry, SC, USA
"Supra" wrote:

HYPERLINK
"http://www.codeproject .com/vb/net/"http://www.codeproject .com/vb/net/
use ur search and look for xp styles in this website
regards

Ben Coats wrote:

> Hey,
> I'm trying to find code for an Explorer-style Directory ComboBox.
> (You know, it display "Desktop", "My Computer", all drives, etc., but it has
> a treeview control inside the combobox so that you can navigate through the
> file system as well.) I've found some on the web, but all of them just have
> the drives and desktop directories and are static in that you cannot expand
> the directories. I normally build a treeview control to do it with, but
> this time I want a combobox/tree view combination control like Windows has.
> If anyone has code for this, knows where some is, or has the know-how to
> help me out I'd really appreciate it!
>
> Thanks
>
> ------------------------------------
> Ben Coats
> .Net Developer
> Newberry Pathology Associates
> Newberry, SC, USA



--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 263.1.2 - Release Date: 6/7/2004

Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2635
by: Bennett Haselton | last post by:
I want to get an ASP.Net hosting account with my ISP, and I'm trying to find out what level of access to the server is requried in order for me to view the server in Server Explorer in Visual Studio .Net, where you can see the available database, expand it to get a list of tables, etc. What level of access is required? Of course you need to have an account with the right user rights, but is there some specific service that needs to be...
4
1734
by: Alpha | last post by:
I have a small Window application and through out the different forms I create a different dataset. At the begining I used the Tools to drag and drop the SqlDataAdapter, connection and dataset objects to the frist few forms but then later I removed those and created these objects in my code. I now see 3 datasets in the Solution Explorer panel part but not all the datasets that I have in my codes. Are these 3 datasets leftover from the...
4
1437
by: HS1 | last post by:
Hello Could you please help a code so I can open a folder in windows explorer when I click a button, (e.g explorer automation) Thank you SH
0
1147
by: Gerrit Beuze | last post by:
Hi all, ModelMaker Tools is proud to announce the release of +++++ ModelMaker Code Explorer 1.10 +++++ for Visual Studio 2003 and 2005 Check http://www.modelmakertools.com/code-explorer-vs/index.html This new major release contains many exciting new features such as: New Wizards and Refactorings:
11
11622
by: Wendy | last post by:
Hello, I have a program that does the following: When a user clicks on a row in a VB.NET datagrid, it will open a web page in Internet Explorer (that corresponds to that item in the selected row in the datagrid). It will automatically print that web page, and then it will close the Internet Explorer window. I have code that works perfectly when a regular web page is opened, however when a pdf web page is opened the printing never...
0
1161
by: Gerrit Beuze | last post by:
Hi all, ModelMaker Tools is proud to announce the release of +++++ ModelMaker Code Explorer 1.15 +++++ for Visual Studio 2003 and 2005 Check http://www.modelmakertools.com/code-explorer-vs/index.html This new major release contains many exciting new features such as:
1
5098
by: Jon Slaughter | last post by:
I'm trying to create a windows explorer like app and the problem I'm having is getting the proper icon for the folders and items. In windows explorer there are many different icons and most seem to be in the shell32.dll. The problem is that there also seems to be custom icons that are installed by applications. For example, "My Music" In My Documents has an icon that is different from the normal folders. I have installed an application...
3
8463
by: ramesh.nrk | last post by:
Hi, I need to re-start the windows explorer programmatically. How can I restart Windows Explorer using programmatically? Thank you
0
1948
by: Shafiq | last post by:
Hi All, Based on the sample kbbar.net applicaation i have created a tool bar for windows explorer. Now i have to enable and disable few buttons based the user slects file in the explorer. For to sync this i have set-up the connection point as in the following function. I could able to get the events only when the user double cliks a folder in the explorer treview or list view. If the user slect an item by single click no notification...
5
2351
by: =?Utf-8?B?SmFwZQ==?= | last post by:
im writing a c# console application that copies files chosen from the windows explorer. I chose the files i want to copy and then from the (right key) menu chose my program. the program starts fine but passes an error that the file(s) are in use ny another user. This other user must be the windows explorer. Any workarounds to free the files from the windows explorer?
0
8822
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9359
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9236
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8235
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4592
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4863
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3298
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2774
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2206
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.