|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
task manager, app doesn't unloadsecond from the task manager. on my clients machine, the app exits but stays indefinitely in the task manager. i tried every which way to kill the process, i did all of the following to no avail: in the module whose sub main loads the form and then starts Application.Run(), i made an exit sub, in whichi set the app form to Nothing, i set the apps class to nothing, t then lookd for the apps process to kill it by Dim proc, procs() As Process procs = Process.GetProcessesByName("MyAppName") For Each proc In procs proc.Kill() Next and finally i ended with Application.Exit() and still the app lives on in the task manager and eats up resouces, though i can't see how it is running without hiring a hitman, how do i kill off this app? ray On Wed, 6 Dec 2006 14:45:30 -0500, ray well wrote:
Show quoteHide quote > on my developing system, when my app exits, it always gets removed withing a I have't the foggiest, but if you get an answer to this I'll be right> second from the task manager. on my clients machine, the app exits but stays > indefinitely in the task manager. > > i tried every which way to kill the process, i did all of the following to > no avail: > > in the module whose sub main loads the form and then starts > Application.Run(), i made an exit sub, in whichi set the app form to > Nothing, i set the apps class to nothing, t then lookd for the apps process > to kill it by > > Dim proc, procs() As Process > > procs = Process.GetProcessesByName("MyAppName") > > For Each proc In procs > > proc.Kill() > > Next > > and finally i ended with > > Application.Exit() > > and still the app lives on in the task manager and eats up resouces, though > i can't see how it is running > > without hiring a hitman, how do i kill off this app? > > ray beside you reading it!!! //al al,
i found the problem, i had my class shut down procedure attached to an exit button, but forgot to attach it to the alt F4, clicking close on the control box, and clicking the upper right x, which my client was using but just told me he was closing the program and i assumed he was clicking the exit button.. i now directed my exit button to the Closing event in which i placed my class shut down process, and everything is just fine. ray Ray,
Undo some hardware memory from your computer, in a way that it is needed to clean up the memory. I hope that as long there is enough memory, the OS does not start with all kind of not needed cleaning up processing, bringing down the processing thime of my other applications. Cor Show quoteHide quote "ray well" <nospam@nospam.com> schreef in bericht news:%23vn098WGHHA.3976@TK2MSFTNGP05.phx.gbl... > on my developing system, when my app exits, it always gets removed withing > a > second from the task manager. on my clients machine, the app exits but > stays > indefinitely in the task manager. > > i tried every which way to kill the process, i did all of the following to > no avail: > > in the module whose sub main loads the form and then starts > Application.Run(), i made an exit sub, in whichi set the app form to > Nothing, i set the apps class to nothing, t then lookd for the apps > process > to kill it by > > Dim proc, procs() As Process > > procs = Process.GetProcessesByName("MyAppName") > > For Each proc In procs > > proc.Kill() > > Next > > and finally i ended with > > Application.Exit() > > > > and still the app lives on in the task manager and eats up resouces, > though > i can't see how it is running > > without hiring a hitman, how do i kill off this app? > > ray > > > > > > > > cor,
thanks for your suggesting. i found the problem, i had my class shut down procedure attached to an exit button, but forgot to attach it to the alt F4, clicking close on the control box, and clicking the upper right x, which my client was using but just told me he was closing the program and i assumed he was clicking the exit button.. i now directed my exit button to the Closing event in which i placed my class shut down process, and everything is just fine. ray
Embedding a newline in a vb.net string constant
convet date format Why does the the program not quit in this case? Best way to handle interface and Forms MDI Parent Forms Exe Size how pass Date vaiable to XPath query XML File into a SQL table DLL returns a variant data type - how to convert and use in VB .NET Setting Tab Index between Panels |
|||||||||||||||||||||||