CompuServe Thread

#A NEW Shell Problem

6 messages in this thread
#1207From: Selden McCabeOct 3, 1991 2:58 PM
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.
#1212From: Costas KitsosOct 3, 1991 4:00 PM
Shelden, Have you tried FreeModule? Costas
#1403From: Selden McCabeOct 4, 1991 3:30 PM
FreeModule… sounds promising! I'll try it right away! Thanks! — Selden There are 2 Replies.
#1404From: Costas KitsosOct 4, 1991 3:36 PM
Selden, You're welcome. Costas
#1419From: Costas KitsosOct 4, 1991 4:23 PM
Selden, I just tried FreeModule in relation to something else and I couldn't get it to work. Let me know if you find a way. Costas There is 1 Reply.
#1567From: Selden McCabeOct 5, 1991 10:10 PM
OK, in fact, I've tried about 5 methods now, and some work on SOME programs, others don't work at all, and some hang the system with some programs. I'll prepare a list of the methods i've tried and the results, and upload it in the next day or so. Then we can compare notes. Thanks for your help and advice so far! Selden