How to use DoEvents() without being “evil”?

DoEvents() is dangerous. But I bet you do lots of dangerous things every day. Just yesterday I set off a few explosive devices (future readers: note the original post date relative to a certain American holiday). With care, we can sometimes account for the dangers. Of course, that means knowing and understanding what the dangers … Read more

Use of Application.DoEvents()

Hmya, the enduring mystique of DoEvents(). There’s been an enormous amount of backlash against it, but nobody ever really explains why it is “bad”. The same kind of wisdom as “don’t mutate a struct”. Erm, why does the runtime and the language supports mutating a struct if that’s so bad? Same reason: you shoot yourself … Read more