Results 1 to 9 of 9

Thread: Making app not show up in Task Manager

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    9

    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.

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Making app not show up in Task Manager

    In you form_load or sub main try putting this...

    VB Code:
    1. App.TaskVisible = False
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  3. #3

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    9

    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.

  5. #5
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Making app not show up in Task Manager

    Quote 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...
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  6. #6
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Making app not show up in Task Manager

    Quote 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...

  7. #7

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    9

    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.
    Quote 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.
    Quote 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.
    Quote 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).

  8. #8

  9. #9
    Fanatic Member
    Join Date
    Jan 2005
    Location
    In front of this pc.
    Posts
    580

    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
  •  



Click Here to Expand Forum to Full Width