3
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by crackerjacker
0

Do you mean if you have a VB application which was running, and is killed using task manager - you want that application to return an msgbox to the user saying it has ended?

I don't think that works as the "End Process" button kills the application dead, so it won't run the Form_Unload or Class_Terminate code to initialise the msgbox.
You would need to write something into the code and try it.

If you mean a separate application which monitors other executables, yes you possibly could, but you would need to look into window handles and stuff (google hWnd - I think thats the one if I remember right - you should find some stuff on that).

0

all right, thanks. i think im just gona' write a different program to monitor that one like you suggested. thanks!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.