How to wait for a shell process to finish before executing further code in VB6

前端 未结 7 874

I have a small VB6 app in which I use the Shell command to execute a program. I am storing the output of the program in a file. I am then reading this file and

7条回答
  •  旧巷少年郎
    2020-11-29 10:15

    In my hands, the csaba solution hangs with intWindowStyle = 0, and never passes control back to VB. The only way out is to end process in taskmanager.

    Setting intWindowStyle = 3 and closing the window manually passes control back

提交回复
热议问题