If MiaListBox.Items.Count = 0 Then
'istruzioni da eseguire
End If
Ciao!