I am using a method found on this site to call a shell command and know when it is done executing. I got this to work just fine. My problem is that the shell window is visible. I tried to set the wShowWindow variable to 0 and 1, but had no luck.

I was able to do this with the regular shell command, but I also need to know when it is done executing.

Thanks in advance

Article:
http://www.vb-world.net/tips/tip5.html