Hi guys
I have a problem with loop and listBox.
I would like to test if ListBox1 is empty then test again until ListBox1 is NOT empty
If ListBox1 is NOT empty then msgBox “You did it”
and start over again, until i click a stop button
The problem is that when I start my program the listBox is ALWAYS empty and after 1-4 sec data will arrive in listBox1, but my loop (for testing if listBox1 is empty) is freezing up the application, because it’s always true and just looping infinity
Any hints or help?
I have a problem with loop and listBox.
I would like to test if ListBox1 is empty then test again until ListBox1 is NOT empty
If ListBox1 is NOT empty then msgBox “You did it”
and start over again, until i click a stop button
The problem is that when I start my program the listBox is ALWAYS empty and after 1-4 sec data will arrive in listBox1, but my loop (for testing if listBox1 is empty) is freezing up the application, because it’s always true and just looping infinity
Any hints or help?