Results 1 to 3 of 3

Thread: TreeView to XML file - Help!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Location
    Dayton, OH USA
    Posts
    119

    TreeView to XML file - Help!

    Does anyone have any examples of how to save the values of a TreeView to an XML file? I have found numerous samples of how to load an XML file which I have successfully done. Now I need to write the updated text from the TreeView back to the XML file using VB.NET.

    Any help would be greatly appreciated!

  2. #2
    Member
    Join Date
    Jun 2004
    Location
    San Diego
    Posts
    39

    Re: TreeView to XML file - Help!

    Hi,

    I need to find the answer to this one as well. Did you find any sample code regarding to save the Treeview to XML?
    Mike

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Location
    Dayton, OH USA
    Posts
    119

    Re: TreeView to XML file - Help!

    I never did find anything. Probably the only way this could be done is to enumerate the nodes of the TreeView, then write out the XMLDocument node by node. In other words, write your own class unless you can find someone who has already done it....

    Sorry, wish I had a better answer for you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width