Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: filling treeview from xml file, but only certain tags

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 8/1/2008 6:39:00 PM

minimalniemand wrote:

> But its not yet working. The Nodes Property of treeNode does not exist
> in VB, what exactly is it? Is it a list of all children under
> treeNode? there aint such a collection I'm afraid

Yes, the Nodes property is the collection of child nodes of a tree view 
node. It is passed to the sub to be able to add the newly created nodes. 
If there is no such collection in your tree view API then you need to 
pass in a node you want to add children to. Only that way the initial 
call needs to be changed as you have no node to pass in at that moment. 
I am afraid I can't provide more help, I am not familiar with the API 
your tree view control has. In terms of processing the XML your code 
should work, you will just have to find a way to create the 
corresponding tree view nodes to cater for the API of your tree view 
control.

-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent