If you are reffering to a node in a treeview just check the Children property. It returns the number of child nodes.

If TreeView1.Nodes(1).Children > 0 Then
MsgBox "The node have child nodes"
Else
MsgBox "The node don't have any child nodes"
End If

Good luck!

------------------
Joacim Andersson
[email protected]
[email protected]
www.YellowBlazer.com