装上MSDN然后选中ListView然后按下F1键
老兄,既然是初学者在问问题之前请先查一下MSDN
这样才有助于提高自己的能力
才有助于提高自己的专业精神

解决方案 »

  1.   

    Dim Litem As ListItem
    Set Litem = lvListView.ListItems.Add(, "ID","Name", "cd", "cd")
                          With Litem
                                   .SubItems(1) = "the first column"
                                   .SubItems(2) = "the second column"
                          End With会了吧
      

  2.   

    同理,获得选中的item
    Dim Litem As ListItem
    Set Litem = lvListView.SelectedItem
                          With Litem
                                  .SubItems(1) = "the first column"
                                  .SubItems(2) = "the second column"
                          End With
      

  3.   

    我书里找不到,,,
    请问如何获得没有选中的Item?
    我是要把整个ListView的数据读出来
      

  4.   

    不要贪得无厌 :)
    用child和children两个属性就可以遍历完全。
    写递归总会吧,呵呵