Yep...
Yep, it works great. I wasn't sure what Application.DoEvents would allow, but it apparently has few limits (if any). Other subs and threads can be spawned off, meanwhile the original loop sits there doing its thang.
Yep, I started with VB a few years back, but so far I've written it...
Works perfectly!
You are the man. That works perfectly.
I had NO idea about DoEvents. That solves the problem of tying up the entire application with loops while waiting for something else to happen.
I've been programming primarily in ASP.Net, so some of the basic Windows.Forms stuff is...
Hey all,
I am having trouble accurately knowing when a thread has completed without holding up my application with loops & the like.
My basic goal is this: Run a recursive directory/file search program, and provide the user with a small progress indicator form with a Cancel option while...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.