#A NEW Shell Problem
6 messages in this thread
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.
Shelden,
Have you tried FreeModule?
Costas
FreeModule… sounds promising! I'll try it right away! Thanks!
— Selden
There are 2 Replies.
Selden,
You're welcome.
Costas
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.
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