o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Sorting a TreeView based on Keys -

I need to sort a TreeView Control but it looks like the built in sort operates on the node text values. I, however, need to sort on the key values. My questions are:

1) Is this possible?
2) If so, how?
3) If not, are there any alternate ways to do this?

 

Sorting a TreeView based on Keys -
I need to sort a TreeView Control but it looks like the built in sort operates on the node text values. I, however, need to sort on the key values. My questions are: 1) Is this possible? 2) If so, how? 3) If not, are there any alternate ways to do this?


Sorting Registry Keys in a Treeview -
I figured out how to recurse the registry and get all the empty keys. I now want to add them to a treeview in the same way they would look in regedit. I don't even know where to start. Any idea how I could do this? Thanks, Troy.


Load Registry Keys in Treeview -
Anyone know how to load the keys/subkeys into a Treeview. I'm not interested in values, just the keys. I can't find any info on this anywhere.


recursive sorting -
I need help with some ideas about recursion please. I have been asked to create a football league program. someone said that because of the leagues, team positions, goal differences, scores etc they said that repeated sorting would be needed, like recursion. It is fairly easy to han


Sorting in Tree View -
halo guys how to sort the treeview item, based on the number order Thanks


updating treeviews based on bindingnavigator -
Hi, I have a Bindingnavigator on a form indicating a row in a table. Based on that row I want to fill a treeview control. I use a sub to fill the treeview, using a datasource that has a reference to a text box bound to the bindingnavigator. The thing is I don´t know on which


TreeView and Node Keys -
I'd like to know if there is something like the unique keys for the nodes (VB6) in a treeview in VB.NET. I don't want to crawl thorugh the whole tree to find a node by its name (sometimes there can be more than one with the same name). Johnny


[2.0] Issue on sorting a treeview. -
I loaded hundreds of data in treeview w/ child nodes and I want it to be sorted but the problem occur when I used the sort() property of the treeview the child nodes get lost. Any one same issue with this? btw Is it advisable to load a bunch of data in treeview for the sake of easy


Populate TreeView Again Without Reloading -
The history of the web pages visited by users in a WebBrowser app is displayed in a TreeView. Like IE, when a CommandButton is clicked, the TreeView becomes visible. Clicking the CommandButton again hides the TreeView. Each node in the TreeView has an unique key which is why if the


Treeview and Collections -
Hi Folks, little problem here. I got an app that builds a treeview control based on the information of a txt file. The information of the txt file contains names of books for tech stuff. Some of these books exist in more than one language, german being the standard, and english being


Sorting a treeview -
When I add a node to my treeview control, I want it to be added in the right place automatically (sorted).... how could I do that


Treeview with Access 2003 -
MSComctlLib.TreeCtrl Hi, I want to use the treeview in VBA. I remember in VB6 that it had nodes and you add to these with keys etc. The intellisense doesn't appear to have these at all. Also on MS site it tells you how to add this programatically but not much else on it. H


Sorting MsFlexGrid -
Hi! When using MsFlexGrid.Sort = 1 Only current column is re-arranged based on sorting conditions. I want to hold the rows together so that all cells in a row follows the sorted column. Just like when sorting a bunch o cells in Excel. Any tips are welcome!


Problem with node keys in VB6 -
Hey guys! I've encountered another problem with Treeview and its Nodes. I have a treeview control in my program and the treeview updates itself by adding new parent nodes and its child nodes accordingly. However if I were to remove a parent node and its children nodes, it would lea


Sorting a string... -
I'm getting a string back from the database with pipe delimited values, and I'd like to sort it prior to loading the treeview. Is it easier to sort the string and then load the treeview, or just load the treeview and then sort that instead? I'm unsure how to do either. Could anyo


TreeView - Newbie to the control, and I need help! -
Ok, after much deliberation, I realized that the treeview would be the best to fit my application, but the problem is that I dont know how to use it... at all. Could someone please outline for me how I could add a parent node, and add a child node, etc... After trying, I found that I k


[02/03] Treeview & Registry -
Hello. I have a program which populates a Treeview control with Folders and files. I have also a picturebox which loads a picture from the registry. This picture gets chosen through the Treeview control during Runtime. What I'd like to know is : How can I automatically go to the


Crystal Reports Sorting Issue -
I am working on my first CR Report in VB.NET and I have the Viewer on my form and the ReportDocument in the project. I had created the report earlier with 8.5 Developer. Now the issue is I need to give the user the option of sorting the report on different fields. It currently ha


VB - A demonstration of how to generate unique keys for a TreeView -
The key of a TreeView node must be unique, and the attached little project demonstrates how to do that.


TreeView & Relationship Keys -
Hello everybody, I've been kicking this TreeView issue to death, and keep banging around in the "how to use Relationship Keys" theory I need to complete child nodes. I clearly don't understand something. I've attached a graphic that displays the my data-table arrangemen


Add Listbox items for all INI keys -
Is there any way to add listbox items based on INI keys, regardless of what they are named? Here is what I'm doing: User inputs a name into an input box (Done) That inputbox writes to an INI file, with the string from the inputbox as a new key (Done) On the next form load, it wil


TreeView - Nodes - Children -
TreeView - Nodes - Children I want to select a node in a treeview and be able to perform actions on all that node's children and their children, and their children etc.. Or at the very least populate an array with all the keys so that I can then use that to process. I am close to cr


Need help with a ProgressBar -
Hy again.... I have a project, at the startup it displays a ProgressBar and next shows a form with a TreeView. At the startup of the form i have a procedure wich will sort the TreeView nodes (it last 5 to 10 seconds). First it shows the ProgressBar and then after 5-10 sec shows the


Re : TreeView -- Get keys for child nodes -
Hi, Does anyone does how to get the keys for all the nodes within the one that you have selected? For example, I selected g. How do I get the keys for a, f, a? Aya


how to generate license keys -
how to generate license keys (such as the CD keys on the case of most Microsoft software) based on user name ? any idea and or suggestion would be greatly appreaciated and many thanks in advance Regards Winanjaya


TreeView ... getting root node keys -
How can I get the first root node's key from a TreeView?


Sorting a Listview acting as treeview (topmost parent only) -
I have come across the LVItemTree of Brad Martinez here. I want to add a sorting capability to it even with the topmost parent only but I'm not sure how to do it, can anyone give me some ideas of workarounds? Thanks! PS: If anyone can PM me how to contact Brad then that would be


sorting again -
Still having a heck of a time sorting files in a folder and displaying them in order. A typical file name looks like this 24_18020315354688-1.jpg so a folder could have the following files 24_18020315354688-1.jpg 24_18020315355292-2.jpg 24_18020316212761-5.jpg 24_18020315


TreeView Sorting -
Hi, I am trying to sort a TreeView in the standard way of all nodes with children (folders) at the top of a level in the tree, then all file nodes underneath them (without children). With the folder nodes and file nodes sorted alphabetically. I'm not sure if that makes sense but


sort only a specific node in a treeview -
I've A treeview with parent nodes and all parents have also childrens. i need to sort only the childrens in one of the parent nodes without sorting the parent nodes in the treeview because i want to keep the order of the parents. how can i do this thanks


VB6 Hot Keys -
I would like to make the F1-F12 keys Hot Keys for when a user is running one of my programs. All I want is for a certain form to pop up when one of these keys are clicked. Is there a way to do this without having to register the hot keys?


treeview update -
hiii, is there a way to update treeview instead of reloading the treeview?? which means after updating , only the changed ndoe has been updated, but the treeview is still expanded as the pervious situation, coz the treeview shows the relationship in MS Access, and the db is huge ,


[2008] COntext Menu - Treeview -
Ok, finally starting to learn VB.net. (just playing around) I have a treeview with a few nodes I have a context menu that is set to the treeview How do you make the context menu only appear if a certain node(s) is right clicked?? (there are no KEYS for the nodes!!) So I


Sorting Crystal Report from VB -
I would like to give users the ability to sort a Crystal Rpt at run-time. Report is based off of ADO connection to MS Access database. The user should be able to sort Ascending or Descending by either deal_name or bid_price. Anyone out there a crystal sorting guru? thx


Reload TreeView -
Does anyone know whether we can refresh / reload the data in the Treeview? Below is the case: My treeview got to load data from DB. After i edit the data in the treeview (the data has been saved to the DB), i want to reload the data inside the treeview... Can i empty the treeview


How to populate treeview with the content from a directory -
Hi, New to this forum.. I want to populate a treeview with the contents of my current directory(selected using folderDialog) CheckBoxes property is set to true. how to populate treeview recursively into the directory.??? i want to get the names of the checked folders from tree


Freezing a control -
I have a treeview that I am sorting through code. How can I disable this treeveiw's paint events so that this process does not take so long?


Sorting RTB 2nd array -
Sorting RTB, I have two columns of numbers. I am focusing on the 2nd column to be sorted but must be written as the bottom windows shows, in this particular sorted order. Alignment of the digits is not important to me, that I can solve it later, sorting is. From the list of “


Treeview and XML -
I need to be able to populate a treeview control on a webform from an xml file or dataset and have just noticed that Microsoft doesnt support there treeview any more. Can anyone help me out ? Are there any free server side treeview controls available which will do this ?


How to setup autocomplete/autosearch -
I have a form that has a textbox and treeview control. I need to be able select (set focus) to the nearest matching node in the treeview based upon what the user has keyed in so far in the textbox. This only needs to search on top level nodes. Any help greatly welcomed.