473,412 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

treeview

How can I add a treeview of folders on a hard drive and link it to listview of documents held in that folder. (Similar to windows explorer)

I want to produce this in windows forms.
Sep 24 '08 #1
7 2776
Studlyami
464 Expert 256MB
I probably shouldn't post this, but #1 hit on google
Sep 24 '08 #2
I probably shouldn't post this, but #1 hit on google
Is there any way this can be added to a windows form, not mfc
Sep 25 '08 #3
Studlyami
464 Expert 256MB
I'm sorry you are going to need to expand on what you mean by windows form? If you are using c++ what libraries are you using for your windows form or are you using just plain old WIN32? Please provide a little more information about what you are actually using and what is available to you. Are you creating this application using .NET? If you are using .NET perhaps you should ask this question in the .NET forum as they will have more input on what is available in the .net library for you to use.
Sep 25 '08 #4
I'm sorry you are going to need to expand on what you mean by windows form? If you are using c++ what libraries are you using for your windows form or are you using just plain old WIN32? Please provide a little more information about what you are actually using and what is available to you. Are you creating this application using .NET? If you are using .NET perhaps you should ask this question in the .NET forum as they will have more input on what is available in the .net library for you to use.
Hi

I am using Visual c++ .net 2003

I have created a new Project which is a Windows Form Application.

I have created a form, within that form I have a treeview and a listview which I selected from toolbox.

1) How can I list specific folders in the treeview
2) How can I list the contents of the folders in listview

I want to create something similar to windows explorer.

Thanks
Sep 25 '08 #5
Banfa
9,065 Expert Mod 8TB
I'm sorry you are going to need to expand on what you mean by windows form?
A Windows form is the generic name for windows using .NET

In MFC and WIN32 you have Windows and Dialog Boxes but in .NET and behond you just have a Form.
Sep 25 '08 #6
Banfa
9,065 Expert Mod 8TB
How can I add a treeview of folders on a hard drive and link it to listview of documents held in that folder. (Similar to windows explorer)
Look up the class System::IO::Directory in .NET on MSDN
Sep 25 '08 #7
Studlyami
464 Expert 256MB
A Windows form is the generic name for windows using .NET

In MFC and WIN32 you have Windows and Dialog Boxes but in .NET and behond you just have a Form.
Ahh that is good to know thanks for the info.
Sep 25 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

42
by: lauren quantrell | last post by:
So many postings on not to use the treeview control, but nothing recently. Is it safe to swim there yet with Access 2000-Access 2003?
5
by: SoKool | last post by:
Can anyone point me to a site where I can get a free treeview control to use in ASP .NET or any tutorial that can help me build my own treeview control. I intend to use a treeview to generate a...
1
by: paradox | last post by:
I want to have a TreeView that shows an image on some items, but not all. Basically, if a certain condition is true, a caution icon is placed next to the treeview item. The problem is that, by...
3
by: Peter | last post by:
Hello, We are inserting a side menu to our application using a class that is writing HTML on all our pages. This is a part of the code as an example: writer.Write(" <table WIDTH=""100%""...
6
by: L.M | last post by:
Hello, I knew how to use the treeview under VB6. After migrating to .NET, well, I'm lost. I try to add a new node, either to the same level or as a child to a selected node in the treeview....
14
by: Mr.D | last post by:
How do I save/load the contents of a Treeview to a file? I have found several good examples written i VB6, but not a single one for VB.NET. Please help. ---- Tim
3
by: christof | last post by:
I've got a really easy problem, please help me: There are two pages in one I'm creating a TreeView like that: TreeView dbTree = new TreeView(); TreeNode dbTreeRoot = new TreeNode("Root");...
2
by: Tymbow | last post by:
I'm building a web application that is analogous to the Windows XP file explorer in function. The left column contains a TreeView, and the right column a DataGrid populated by selecting TreeView...
1
by: kvicky | last post by:
I am trying to load child nodes to a TreeNode in a TreeView in a ASP.net web application. The Treeview with parent nodes are loaded on a Page_load while doing if( ! ISPostback ) and then in the...
8
by: Matt MacDonald | last post by:
Hi All, I have a form that displays hierarchical categories in a treeview. Ok so far so good. What I was to do is have users be able to select a node in the treeview as part of filling out the...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.