hailmatt69
Member
Ok I'm a complete noob to VB6 and I'm just making a simple exe file to go on my WoW install DVD, to organize all the other exe's on there.
I have most of it done, but I'm trying to get the file to minimize when another exe is brought up, and return when that exe closes.
This is what I have so far (on my command button):
What do I need to put in so the window comes back up after the selected exe, is finished with?
I have most of it done, but I'm trying to get the file to minimize when another exe is brought up, and return when that exe closes.
This is what I have so far (on my command button):
Code:
Private Sub Command1_Click()
Dim RetVal
Form1.WindowState = 1 'Minimize window
If Option1.Value = True Then
RetVal = Shell("Installer.exe", 1)
End If
If Option2.Value = True Then
RetVal = Shell("WoW-2.0.3-enUS-patch.exe", 1)
End If
If Option3.Value = True Then
RetVal = Shell("wow-2.0.3.6299-to-2.0.12.6546-enus-patch.exe", 1)
End If
If Option4.Value = True Then
RetVal = Shell("WoW-FE 0.63.exe", 1)
End If
End Sub
What do I need to put in so the window comes back up after the selected exe, is finished with?


