How to prevent GUI (VB6) program from returning control when run from a command line?

Posted by orloffm on Stack Overflow See other posts from Stack Overflow or by orloffm
Published on 2010-05-13T07:17:12Z Indexed on 2010/05/13 7:34 UTC
Read the original article Hit count: 139

Filed under:
|
|
|
|

There is a VB6 application. It can be run with command line parameters to create some report in a text file.

The problem is that when started from a batch file, application returns control immediately, so the following commands start executing. I need these following commands to wait until the VB6 app finishes its work.

How to achieve that?

© Stack Overflow or respective owner

Related posts about vb6

Related posts about console