Launching and then reactivating another app from VB5
Posted on 1999-06-25
I need to launch another application from my VB5 app. No problem using Shell, but if the user switches back to the 1st app and then tries to launch the second app again, I need to see if it is running already, and if so restore it whether it is minimized or not. If it was closed, I know I can just use shell again. The code I need is how to determine whether it is running. FindWindow API won't do because the second app is an MDI and the Caption varies depending on the child windows caption. Thanks.