Basically, I have a program that gets all the computer names on our domain, checks to see if it can ping them or not, and runs through the list check if certain software is installed (most of it's done using WMI). I've never really used DoEvents or anything. But I need to stop the process if needed. Ideally, I want to put a checkbox on the form and a condition on the next loop to see if it's checked or not and stop it if needed. Only problem is, when I run the process I have no way of even hitting that check box because the process is not letting me interact with the interface. All I hear about DoEvents being evil and some conditions on when not to use it. Is there something else I could use? I'm sure this is like the oldest trick in the book, but I never really had a need for it. Any guidance would greatly be appreciated. Thanks
Start Free Trial