U need to do it recursively. Incase there are nested nodes.
Here's a link for what you wanna do
http://msdn.microsoft.com/library/de...iewcontrol.asp
HTH
rawCoder
"Bob Hollness" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi all. I know this is easy. What have I missed? I want to iterate
> through all child nodes from the top.
>
> Dim treeVal as TreeNode = Nothing
>
> For Each treeVal in MyTree.Nodes
> if treeVal.Checked = True then MsgBox(treeVal.Text)
> Next
>
>
> --
>
> I'll have a B please Bob.