Solved

Converting TreeView2 to TreeView1

Posted on 2015-01-17
5
30 Views
Last Modified: 2015-02-13
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
0
Comment
Question by:hakanogu
  • 3
5 Comments
 
LVL 46

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 40555633
Why can't you use the same Beta/zeta code that we worked on before?
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40555638
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.
0
 

Author Comment

by:hakanogu
ID: 40555664
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.
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40607524
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now