
How 2 determine DOS program has finished?
Quote:
>How can I get VB3 to find out if a DOS program has finished it run, so that
>the VB program can continue.
Make a batchfile: DOS_prog.bat
Echo Hallo > wait.tsk
Call <Your DOS program>
Del wait.tsk
Call the batchfile with the shell command.
Check in VB if the file wait.tsk is still there. If not the DOS
program has finished.
Andreas
PS: the simplest way is most the best.
b
b aa Dipl-Ing. Andreas Bachmeier
b a Ing.-Bro fr Softwaretechnik
bb a Berlin / Germany