Load XML in Tree View

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 ?


LVL 1
mADOchistAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RonaldBiemansCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mADOchistAuthor Commented:
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
platinumbayCommented:
You can do

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

and

<time>5<time>
0
eekjCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.