Following code works fine if I want to launch an application program:
Dim iAppID As Integer = Shell(appPath, AppWinStyle.MaximizedFocus)
If System.IO.File.Exists(appPath) = True Then
However, If I want to launch an application and force the operation system to wait until the application has been terminated before allowing any other action to be performed. How do I do? I heard of ExecuteAndWait method. How does that work? The code will be in form_load event.
Thanks very much