Re: Writing TreeView Contents To XML

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Pat Richey (richey_at_uiuc.edu)
Date: 10/12/04


Date: Tue, 12 Oct 2004 02:16:14 -0500

Robert Gale wrote:
> I am writing an RSS reader in C# and I'm trying to write the contents
> of a TreeView to an XML file. I have tried using XmlWriter and have
> managed to write simple tree structures but I get confused when it
> comes to dealing with complex tree structures such as those that have
> multiple folders and sub folders.
>
> Is XmlWriter the best way to write out a TreeView? How would you go
> about going through each of the folders and writing the feeds within
> them?

you might want to start with learning how to traverse a tree:

http://www.brpreiss.com/books/opus5/html/page259.html



Relevant Pages

  • Writing TreeView Contents To XML
    ... I am writing an RSS reader in C# and I'm trying to write the contents ... multiple folders and sub folders. ... Is XmlWriter the best way to write out a TreeView? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Writing TreeView Contents To XML
    ... customized treenode object... ... // Call the procedure using the TreeView. ... > comes to dealing with complex tree structures such as those that have ... > multiple folders and sub folders. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: CheckForIllegalCrossThreadCalls
    ... Create your multiple threaded process to populate this list. ... ..NET PropertyGrid Control - ListBox, ComboBox, and Custom Classes ... There are 12 folders each with 5 ... not the TreeView control itself. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Windows ME to Windows XP
    ... XP itself has full support for writing data to CD. ... Click the files or folders you want to copy to the CD. ... Under CD Writing Tasks, click Write these files to CD. ... Windows displays ...
    (microsoft.public.windowsxp.music)
  • Re: Error "There is No Disc in Drive" when writing text files to C
    ... Microsoft MVP Windows Shell/User ... Click the files or folders you want to copy to the CD. ... Under CD Writing Tasks, click Write these files to CD. ... Be sure that you have enough disk space on your hard disk to store ...
    (microsoft.public.windowsxp.general)