|
-
Oct 10th, 2005, 08:17 PM
#1
Thread Starter
New Member
Making app not show up in Task Manager
Disclaimer: This may or may not belong in this category (possibly API, since that is probably the solution), but I put it here and if I am wrong then somebody can tell me.
OK, now for the actual question: I am using VB6 SP6 and I want to remove my app from the list of Applications of the Task Manager. My app lives in the systray pretty much all the time (except when the user wants to check progress, change settings, etc.) so it seems pretty stupid to have it show up in the Task Manager even though the form is invisible. Can anybody tell me how to remove it from there? Any help is greatly appreciated.
-
Oct 10th, 2005, 08:22 PM
#2
Re: Making app not show up in Task Manager
In you form_load or sub main try putting this...
-
Oct 10th, 2005, 08:22 PM
#3
Re: Making app not show up in Task Manager
You should never restrict anyone from ending your application. And after all what's the reson to hide id?
-
Oct 10th, 2005, 08:32 PM
#4
Thread Starter
New Member
Re: Making app not show up in Task Manager
Wow! App.TaskVisible! I didn't even know that existed. I'm an idiot. Thanks dee-u.
RhinoBull, like I explained, the app lives in the systray most of the time. When there is no form visible, why have it show up in the list of applications running? Processes maybe, but applications - it seems stupid. Check out any distributed computing program. I haven't yet seen one that shows up in the Applications section of the Task Manager while the window is invisible.
-
Oct 10th, 2005, 08:36 PM
#5
Re: Making app not show up in Task Manager
 Originally Posted by RhinoBull
You should never restrict anyone from ending your application. And after all what's the reson to hide id?
Maybe one scenario is when you develop an internet timer or something, I think you shouldn't allow the user to end your timer...
-
Oct 10th, 2005, 08:40 PM
#6
Re: Making app not show up in Task Manager
 Originally Posted by mocsr123
... When there is no form visible, why have it show up in the list of applications running? Processes maybe, but applications - it seems stupid. Check out any distributed computing program. I haven't yet seen one that shows up in the Applications section of the Task Manager while the window is invisible.
It doesn't matter - you're not creating app that Windows cannot live without ... therefore I should have a chance to shut it down when I want it.
And believe me - I wouldn't use your app if it's not in the task manager...
-
Oct 10th, 2005, 08:58 PM
#7
Thread Starter
New Member
Re: Making app not show up in Task Manager
I still don't understand why I am arguing with you over this, but your last message was asking for a reply. If you don't get it after this, then you're hopeless.
 Originally Posted by RhinoBull
And believe me - I wouldn't use your app if it's not in the task manager...
Let me clarify for the third time. The Task Manager has more than one section. They are Applications, Processes, Performance, etc. Right now the Applications section of your Task Manager probably lists one task for each of the programs you are running that shows up in the taskbar. Most of the stuff you have in your SysTray is not in the Applications list. It is in the Processes list. That is what I wanted to do with my app.
 Originally Posted by RhinoBull
It doesn't matter - you're not creating app that Windows cannot live without ...
Take a real time antivirus program for example. Windows can live without it, but in this day and age it would be unwise not to have one. Such a program, as well as most of the programs running in the background don't show up in the Applications section of your Task Manager. If they did, you would probably go crazy.
 Originally Posted by RhinoBull
I should have a chance to shut it down when I want it.
You do have a choice to shut it down. It's called the "End Process" button (as opposed to the "End Task" button).
-
Oct 10th, 2005, 09:33 PM
#8
Re: Making app not show up in Task Manager
I'm not even close to argue with you over anything young fellow - that's one.
Thanks for your useless lesson - that's two and all. You can do whatever the heck you want to do - I could care less.
-
Oct 11th, 2005, 01:40 AM
#9
Fanatic Member
Re: Making app not show up in Task Manager
I just gotta say that it amazes me how anytime anyone ask about hiding an app or making an app difficult to terminate they get pounced upon. There are MANY valid reasons for making apps hard to terminate..let's take one.
I own a pc but I let someone else use it from time to time - maybe it's Joe from down the street, maybe it's Jr or Sissy down the hall. If there is any application which I determine should be operating at all times I should have the option of preventing the person who is borrowing my pc from terminating that app - whether it be antivirus, a firewall or a do-wop diddy wav blasted at full volumn every 30 seconds. It's my pc, not theirs. If they don't want to hear do-wop diddy they can just stay off of my pc - I'm kinda partial to do-wop diddy ad really love annoying the blazes out of folks by playing it repeatedly. Not to mention that it alerts me when one of the kids is on the pc.
Again, in case anyone missed my point, there are at least 42 gafrigginzillion valid reasons for an application to be required operational on a pc even if "Windows doesn't require it".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|