473,394 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

task manager, app doesn't unload

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


Dec 6 '06 #1
4 1258
On Wed, 6 Dec 2006 14:45:30 -0500, ray well wrote:
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
I have't the foggiest, but if you get an answer to this I'll be right
beside you reading it!!!

//al
Dec 7 '06 #2
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

"ray well" <no****@nospam.comschreef in bericht
news:%2****************@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




Dec 7 '06 #3
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
Dec 7 '06 #4
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


Dec 7 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jaans | last post by:
I have a problem that relates to running "cleanup" code when an application is forcibly ended using the "End Process" of "Task Manager" (Please note that this is very different from "End Task"...
2
by: ramialhasan | last post by:
I got used to use VB ACTIVEX EXEs and when using the compiled EXE and instantiate it the EXE name appears on both tabs of Task Manager(Applications and Processes). But when using the ATL EXE...
6
by: rodchar | last post by:
hey all, i'm trying to use Windows' Task Manager to kick off my win form. Am I correct to say that this is not going to work because everytime it runs I see it task manager but no window ever...
10
by: shiry | last post by:
Hi, I need to do some important cleanup before my console application exists. I used the console ctrl event. This is working well and it fires for all cases, including the CTRL_CLOSE_EVENT (if I...
6
by: Marcus | last post by:
Hi, I am a newbie at C#. Here is my current problem: I want my application to iterate through the list of tasks presented in task manager. I want it to look at the task names and if a certain...
4
by: Strah | last post by:
Is there a way to catch the event of terminating the application from the the processes tab in task manager? I have created windows app, and if a user termintates the app in the task manager,...
4
by: ray well | last post by:
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...
3
by: Inbox.Mirror.Orbisoft | last post by:
In the last 1-3 weeks, we have had numerous users of Task Manager 2007 (www.orbisoft.com) complain that they can no longer export certain reports (Task Manager 2007 uses a Sagekey.com Access 97...
3
by: =?Utf-8?B?U3RldmUgQmFya2Vy?= | last post by:
Hi guys, I know this post isn't strictly related to the forum topic, but it's such a general question that I didn't know where else to post it! Feel free to suggest a more suitable alternative!...
4
by: e-Ricc | last post by:
Hi guys! Im trying to detect when a user "kills" my c# app using windows task manager, i've tried with the form events _closing and _closed managing for example putting an if inside to detect...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.