CompuServe Messages

#A NEW Shell Problem

    03-Oct-91 14:58:25
Sb: #A NEW Shell Problem
Fm: Selden McCabe 75300,2244
To: ALL
Help — Anyone! This is a different Shell problem I'm having. In my VB app, I use Shell to start other windows apps and also DOS apps. For the windows apps (like Reversi, Solitaire, etc.) sometimes the user gets the Shelled app into the background or iconizes it, then returns to the VB app. In that case, I want to be able to Kill the shelled app. I've tried DestroyWindow, SendMessage with a variety of messages that should kill the window, and SendKeys with alt-F4. Nothing works consistently. SOme apps are killed, and others just cause the system to hang. I am able to get the handle to the shelled app, and I've been using IsWin to see if it is still running. Does anyone have any suggestions? Thanks in advance! —– Selden McCabe There is 1 Reply.