| | |
end process
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Nov 2007
Posts: 141
Reputation:
Solved Threads: 15
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).
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).
![]() |
Similar Threads
- How can i block a process(eg. View.exe) in Windows XP (Windows NT / 2000 / XP)
- I am at the end of my rope (Viruses, Spyware and other Nasties)
- 100% CPU USAGE on and off! ;/ (Windows NT / 2000 / XP)
- End process of scvhost.exe, manual shutdown and now no beep (Troubleshooting Dead Machines)
- END TASK (Windows NT / 2000 / XP)
- Generic Host Process for Win32 Error (Viruses, Spyware and other Nasties)
- "System Idle Process" (Windows NT / 2000 / XP)
- wupdater.exe error message (Web Browsers)
- CPU is fully used up by a single process, HELP (Windows NT / 2000 / XP)
- >>>>>NEED HELP<<<< (Windows NT / 2000 / XP)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Connecting a Global Module to Forms to create and "carry through" to a final form
- Next Thread: listviewissue
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






