[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Load XML in Tree View

Posted on 2004-11-25
4
Medium Priority
?
229 Views
Last Modified: 2012-05-05
Hello New to VB.Net

I would like to create a function that would load any xml file and display its contents a treeview control.

The parent-child relationships in the xml file should be the same in the Tree View ....

I just am so confused by the treeview. I cant seem to find a way to do a recursive function to do this ?


0
Comment
Question by:mADOchist
4 Comments
 
LVL 25

Accepted Solution

by:
RonaldBiemans earned 920 total points
ID: 12675374
0
 
LVL 1

Author Comment

by:mADOchist
ID: 12676494
thanks,

btw,

what is the difference (either terminoligy or technically) between writting this:

<time value="5"></time>

and this

<time> value="5"</time>

The script only accepts the first option and not the seconds but aren't both options "Attributes" anyways ??? I guess I must be wrong..

Thanx...

I'll acccept the answer but id like to get a clarification on why it accepts a format but not the other...
0
 
LVL 6

Expert Comment

by:platinumbay
ID: 12678379
You can do

<time value="5"></time>

and

<time>5<time>
0
 
LVL 3

Expert Comment

by:eekj
ID: 12679655
this is in C# but you can use it in a VB project
http://www.devx.com/dotnet/Article/17829/0/page/1

Add a reference in your project then add the XmlTreeView control just like you would a normal tree view. The function calls will be the same as for C#...
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Screencast - Getting to Know the Pipeline

834 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