>Einar,
>I haven't yet worked with .Net TV so might not apply.
>
>treeNode.Id looks like node.key (unique) in Activex TV. If it's Activex one can do this:
>
>oNode = Tv.Nodes[cKey] or Tv.Nodes[iIndex]
>
>w/o a need to loop.
>Cetin
Id is acctually a property of my custom TreeNode class that inherits from System.Windows.Forms.TreeNode. From what I know there is no longer a tag property since you now can make your own custom treenode and add as many properties as you want so passing a tag value to some method that returns the correct node is gone. That is acctually what I am trying to reproduce. I think the fastest way to reproduce it is to use recursion.
I've got a solution that works great now (it is faster than a speeding bullet) but maybe I can squeeze another couple of milli-seconds out of it <s>
Einar
Semper ubi sub ubi.