none
How to define (declare) listview1.items.count in the module

    Question

  • How to define (declare) listview1.items.count in the module 

    that I try to write 

    Friend Num1 As Form17FactoredLoadswithoutSlenderness.ListView1.Items.Count = 200 

    or

    Friend Num1 As ListView1.Items.Count = 200

    but it is not accepted

    Please advise

    Regards,

    Hany Metry


    Hany Metry


    • Edited by Hany Metry Sunday, April 17, 2016 7:37 PM add details
    Sunday, April 17, 2016 7:33 PM

Answers

  • Friend AAA(200) As ListViewItem
    Friend Num1 As Integer = Form17FactoredLoadswithoutSlenderness.ListView1.Items.Count

    Hany Metry

    • Marked as answer by Hany Metry Sunday, April 17, 2016 8:05 PM
    Sunday, April 17, 2016 8:05 PM

All replies

  • Friend AAA(200) As ListViewItem
    Friend Num1 As Integer = Form17FactoredLoadswithoutSlenderness.ListView1.Items.Count

    Hany Metry

    • Marked as answer by Hany Metry Sunday, April 17, 2016 8:05 PM
    Sunday, April 17, 2016 8:05 PM
  • Glad to know that you have resolved this issue, Hany Metry.

    Thanks for sharing your solution here.

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, April 18, 2016 1:22 AM
    Moderator