wait for the second VB script untill ended from primary VB script
Posted
by yael
on Stack Overflow
See other posts from Stack Overflow
or by yael
Published on 2010-06-13T07:27:06Z
Indexed on
2010/06/13
7:32 UTC
Read the original article
Hit count: 461
vbscript
Hi I have VB script that run second VB script The second VB script ask some questions from the input box My problem is that “MyShell.Run” not wait until SecondVBscript.vbs will ended And the Other VB syntax run immodestly also
Need to wait for MyShell.Run process ended and then perform the Other VB syntax How can I do that?
Set MyShell = Wscript.CreateObject("WScript.Shell")
MyShell.Run " C:\Program Files\SecondVBscript.vbs"
Set MyShell = Nothing
Other VB syntax
© Stack Overflow or respective owner