VB.NET : Creating a tree-like explorer in an application
VB.NET : Creating a tree-like explorer in an application
VB.NET : Creating a tree-like explorer in an application
VB.NET : Creating a tree-like explorer in an application
VB.NET : Creating a tree-like explorer in an application
VB.NET : Creating a tree-like explorer in an application VB.NET : Creating a tree-like explorer in an application VB.NET : Creating a tree-like explorer in an application VB.NET : Creating a tree-like explorer in an application VB.NET : Creating a tree-like explorer in an application VB.NET : Creating a tree-like explorer in an application VB.NET : Creating a tree-like explorer in an application VB.NET : Creating a tree-like explorer in an application
VB.NET : Creating a tree-like explorer in an application VB.NET : Creating a tree-like explorer in an application
VB.NET : Creating a tree-like explorer in an application
Go Back  Xtreme Visual Basic Talk > > > VB.NET : Creating a tree-like explorer in an application


Reply
 
Thread Tools Display Modes
  #1  
Old 07-06-2006, 10:49 PM
obajaber's Avatar
obajaber obajaber is offline
Centurion
 
Join Date: Feb 2005
Posts: 118
Default VB.NET : Creating a tree-like explorer in an application


I am using Visual Studio 2005. I want to make a windows application with an explorer on the left (tree-like structure), similar to the one in the screenshot attached . The screenshot is from SQL Server. The list of items to be added will be dynamically generated. I also want to do the same on a web site. How do I go about doing this in VB.NET?
Attached Images
File Type: jpg sqlserver.JPG (5.2 KB, 8 views)
Reply With Quote
  #2  
Old 07-07-2006, 11:26 AM
HardCode's Avatar
HardCodeVB.NET : Creating a tree-like explorer in an application HardCode is offline
Ultimate Contributor

Forum Leader
* Expert *
 
Join Date: Feb 2004
Location: New Jersey
Posts: 3,339
Default

Well, start off by adding a TreeView control to your form. Then, you will want to add an ImageList control. The image list control will contain the icons for the tree nodes. Add your icons to the ImageList in the properties window. Now, set the ImageList property of the TreeView to your ImageList control that you added.

As far as populating the data, MSDN has examples of the basics of the TreeView control. This article, while explaining drag-and-drop, has some code that may help you while you are trying to get your TreeView to "do stuff."
__________________
DON'T CLICK HERE

Useful forum tags: [VB][/VB], [CODE][/CODE], [HTML][/HTML]
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
VB.NET : Creating a tree-like explorer in an application
VB.NET : Creating a tree-like explorer in an application
VB.NET : Creating a tree-like explorer in an application VB.NET : Creating a tree-like explorer in an application
VB.NET : Creating a tree-like explorer in an application
VB.NET : Creating a tree-like explorer in an application
VB.NET : Creating a tree-like explorer in an application VB.NET : Creating a tree-like explorer in an application VB.NET : Creating a tree-like explorer in an application VB.NET : Creating a tree-like explorer in an application VB.NET : Creating a tree-like explorer in an application VB.NET : Creating a tree-like explorer in an application VB.NET : Creating a tree-like explorer in an application
VB.NET : Creating a tree-like explorer in an application
VB.NET : Creating a tree-like explorer in an application
 
VB.NET : Creating a tree-like explorer in an application
VB.NET : Creating a tree-like explorer in an application
 
-->