Monitoring a DOS Shell - Resolved
I'm using MS Access 97 and shelling to a DOS window.
When the window autocloses, I need to proceed with my code.
Its the age old problem of halting code execution while waiting for an external process to complete.
Now, obviously, I need to replace the msgbox with some DO-UNTIL loop that can check for window's presence.
I'm using MS Access 97 and shelling to a DOS window.
When the window autocloses, I need to proceed with my code.
Its the age old problem of halting code execution while waiting for an external process to complete.
Code:
cmdline = "c:\myexe.exe"
Shell (cmdline)
MsgBox "Click OK when processing window disappears from the task bar.", vbOKOnly
Now, obviously, I need to replace the msgbox with some DO-UNTIL loop that can check for window's presence.
Last edited: