Hi All,
I know by using some API functions, we are able to determine when a shelled process has terminated, but this only work for the first level call.
eg: Shell MyProgram.bat
Is there a way to determine the subsequent call as well.
eg: In MyProgram.bat, I am calling MyLongProgram.bat, so when I use Shell MyProgram.bat in VB, the shell process will terminate before the MyLongProgram.bat has finished.
Hope I am not asking for too much...;-)
I know by using some API functions, we are able to determine when a shelled process has terminated, but this only work for the first level call.
eg: Shell MyProgram.bat
Is there a way to determine the subsequent call as well.
eg: In MyProgram.bat, I am calling MyLongProgram.bat, so when I use Shell MyProgram.bat in VB, the shell process will terminate before the MyLongProgram.bat has finished.
Hope I am not asking for too much...;-)