Just to give you another option. While watching Winrar last night (boring life) I noticed that while unzipping it created temp files which are gone when the final file was completed.
Maybe bullzip does the same thing while zipping/unzipping. You could test for the existance of these.
Hi Everybody,
Darbid, RG, and Dave (gemma-the-husky), thank you so much for your help. Darbid's link provided the EnumWindows code that let me identify BullZip's class, which I could then add to the code in RG's link for IsAppRunning.
Here's that piece:
Code:
Case "bullzip": strClassName = "ThunderRT6FormDC"
Then I added a loop before sending each Report to BullZip:
Thank you, RG. I've seen the DoEvents thing in people's code before, but I didn't really understand what I read in the Help file. Can you refer me somewhere that explains it?
The Escape key thing is a good idea too. I'm going to start searching for a way to code that - I don't know how at the moment.
Even though Access is single threaded, it is still multi-tasked. That means that some tasks is Access can get to run more often than others depending on the priority of the task. The loop you had holds the cpu right there in the code while issuing a DoEvents returns the cpu to the tasker and would allow the keyboard input task to run for example.
This is what's great about the internet - ghudson, it's more than a year later, but your little bit of code saved me a lot of time today, thanks a lot for sharing.