Hi,
Well personally i wouldn't like to use a loop of DoEvents. Simply because you never know how many DoEvents you require. 100 is a probably a safe conservative estimate. But it could require more, it could require a LOT less!!

Instead try using the Win API "WaitForSingleObject" this tells you ecactly when a process has completed its operations, and is much more reliable.

Hope this helps.
Cheers,

------------------
Gaurav Mahindra
[email protected]