listbox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Seema Multani

    #1

    listbox

    How can I find out weather my listbox is empty or not



  • Chris

    #2
    Re: listbox

    Seema Multani wrote:
    How can I find out weather my listbox is empty or not
    >
    >
    >
    ListBox.Items.C ount = 0

    Comment

    • Denis Voyer

      #3
      Re: listbox

      If ListBox.Items.C ount = 0 Then
      Do something
      Else
      Do this
      End If

      Or if you want to use the result somewhere else set a variable to the items
      count.

      Variable = ListBox.Items.C ount

      Denis

      "Seema Multani" <seema@hotmail. comwrote in message
      news:uE8mZLZwGH A.4512@TK2MSFTN GP05.phx.gbl...
      How can I find out weather my listbox is empty or not
      >
      >

      Comment

      Working...