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

前端 未结 7 839

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

    0 讨论(0)
提交回复
热议问题