April 22nd, 2004, 04:27 AM
VBA! Can't get process to end
I have this piece of code that unpacks a zipfile
shellandwait ("C:\Wzunzip C:\test.zip C:\")
After this process is done I want to delete it with
The problem is that I can not delete the zipfile because the Wzunzip process won't end. The Shellandwait funtion ensures the unpack line finishes first before resuming next code. I know this works becasue there are a few other command in between these 2 commands wich I could not do if the shellandwait function wouldn't work properly.
So here is the question:
How can I end the Wzunzip.exe process so I can delete that horrible zip file afterwords? Oh, I work with VBA.
Thank you for your time and effort.
Last edited by Jasper XAFAX; April 22nd, 2004 at 04:32 AM.
Flying is to throw yourself on the ground and miss
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!