Hi Vlad ---
Wellll....hmmm....if you know what your criteria is ahead of time then you could use the Nodes(n).Tag property to store the criteria and then count through the nodes and do what's appropriate.
>I was thinking about a different way of doing the filtering,not needing to rebuild everything, like parsing the nodes in the treeview and setting the visible property false or true according to the criteria.
>
>Thank you,
>Vlad
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05