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).
Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.
This thread is more than three months old
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.