
How a 32-Bit App Can Determine When a Shelled Process Ends, Article ID: Q129796
Quote:
> this example in the ms knowledgebase works fine but with
> one disadvantage: no code is executed while waiting for
> the shelled process to end until it is closed.
> I want my program to keep working and on the event that
> the shelled program is close to react to that.
> it used to be so simple in VB 3.0, why is it so
> complicated in VB 4.0??
Instead of using an infinite wait, use a finite amount of time. When the
time expires, check whether it expired because of timing or because the
program finished. DoEvents as necessary. Loop as necessary.
In VB5: Start a separate thread.
N Varacalli
--
The views expressed herein do not represent the views of my employer.
The Address in the header is mangled, delete appropriately.
To reach me via e-mail, try
NICHOLAS_VARACALLI at non-hp-Canada-om1.hp.com