hakanogu
asked on
Converting TreeView2 to TreeView1
Hello all,
I have a question that ı couldnt do and solve.
In my simple Form, I have 2 treeview ( TreeView1, TreeView2 ) and 1 command button.
to TreeView1 , I am importing some information from a special program that I use. According to informations that i import, my TreeView1 can have different information, different nodes and sub nodes.
Also I have second Treeview (TreeView2). This second treeview using same information from TreeView1 ( definitely same hyerarch, same node and sub nodes number ) . But in this Treeview2 informations are in different order .
between two treeview, only differencies, some texts has (.Zeta ) and (.Beta) suffixes.
If a node has sub node in TreeView1, the texts on these nodes are coming to Treeview2 with (.Zeta) extension.
And The others are coming to TreeView2 with (.Beta) extension.
And sometimes in my Treeview1 , some nodes has same names inside TreeView1.
So my question is that how I can convert this TreeView2 like TreeView1 in order as the names with the suffixes.
Because my treeview2 has same names with (.Zeta) or (.Beta) suffixes but different order from TreeView1.
So how I can reorder my texts in my treeview2 with these suffixes as same of TreeView1.
I am attaching example program to you. Attached program, I added some nodes inside form load event. But my normal program is reading from a place. At least you can understand what I mean.
TreeView.zip
I have a question that ı couldnt do and solve.
In my simple Form, I have 2 treeview ( TreeView1, TreeView2 ) and 1 command button.
to TreeView1 , I am importing some information from a special program that I use. According to informations that i import, my TreeView1 can have different information, different nodes and sub nodes.
Also I have second Treeview (TreeView2). This second treeview using same information from TreeView1 ( definitely same hyerarch, same node and sub nodes number ) . But in this Treeview2 informations are in different order .
between two treeview, only differencies, some texts has (.Zeta ) and (.Beta) suffixes.
If a node has sub node in TreeView1, the texts on these nodes are coming to Treeview2 with (.Zeta) extension.
And The others are coming to TreeView2 with (.Beta) extension.
And sometimes in my Treeview1 , some nodes has same names inside TreeView1.
So my question is that how I can convert this TreeView2 like TreeView1 in order as the names with the suffixes.
Because my treeview2 has same names with (.Zeta) or (.Beta) suffixes but different order from TreeView1.
So how I can reorder my texts in my treeview2 with these suffixes as same of TreeView1.
I am attaching example program to you. Attached program, I added some nodes inside form load event. But my normal program is reading from a place. At least you can understand what I mean.
TreeView.zip
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
And just a hint. When you create a zip file don't include the .vbw file. All that is is a record of how the size and position of the forms are shown on your PC and if I have a larger screen or different resolution it only gets in my way.
ASKER
You are right Martin...I explained my question wrongly actually...I will repost my question..dont pay attention my attached program and my question..ı need to think how I can ask these question...Sorry.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.