子节点上不止一个父节点,如何将点击的子节点所有父节点全部列出来
望高手们指点~注:不要给基础理论的东西,我完全没有基础的,请给出完整可行的源代码,谢谢
我在网上看过很多回复:Node.Parent.Text
还有一些过程:
Function GetPath(oRoot As Node, desNode As Node) As String
      Dim strt     As String
      strp = ""
      Do Until desNode Is oRoot
              If strt <> "" Then
                      strt = "\" & strt
              End If
              strt = desNode.Text & strt
              Set desNode = desNode.Parent
      Loop
      GetPath = strt
  End Function
但有又不写如何调用,我又看不懂,试来试去除了出错还是出错~~真是晕死~~