borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (resizing a user defined structure)Next Topic (UNC to a drive letter) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Taksmanager Solved Topic
Poster Message
Vpa
Level: Sage


Registered: 14-03-2004
Posts: 66

icon Taksmanager

I have a program that runs at every startup, it is somewhat similiar to Norton Anti Virus, in such way that it shouldn't be able to be closed with the taskmanager. I didn't know how to do that, so I disabled the taksmanager and made my own. This control didn't work properly. So now I have the question, does anyone know how I can manipulate the taskmanager so it can't close my program or shows up in the list? App.TaskVisible isn't an option because you can still close the program

So I need a way to override the close command from taskmanager but it still have to close when I log off or shutdown my computer. Or I need a way to manipulate taskmanager so my program doesn't show up

Thanks in advance

____________________________
Shondoit fais G'ot < http://home.deds.nl/~7dfp >

05-07-2005 at 09:24 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1617
icon Re: Taksmanager

Tons of threads here on this subject...

but in NT/XP systems... everything can be terminated... other than "System Idle Process" and other "program is the OS" type of programs.

Anti-virus... firewals... they can be shutdown with little to no effort.

[Edited by JLRodgers on 06-07-2005 at 01:21 AM GMT]

____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

06-07-2005 at 07:21 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
Vpa
Level: Sage


Registered: 14-03-2004
Posts: 66
icon Re: Taksmanager

Where is here?

And can't you manipulate Taskmanager so it won't show your program? Like subclassing or something

____________________________
Shondoit fais G'ot < http://home.deds.nl/~7dfp >

06-07-2005 at 08:15 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1617
icon Re: Taksmanager

here being this board... (try the search).

No, you can't subclass it to hide stuff... everything (virus scanners, firewalls) are listed there. Any legitimate program doens't need to hide from the user or make it so it can't be closed. While it could seem that way... if it blocks the ability to close, you can't uninstall it, you can't shut it down if it errors or conflicts with something else...

But even norton anti-virus is listed and can be closed.

If you're programming exclusively for a non-NT based OS (Windows 95, 98, ME), you can list the program as a service -- but most users that have purchased a computer since 2002 will not have that OS.


[Edited by JLRodgers on 06-07-2005 at 01:52 PM GMT]

____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

06-07-2005 at 07:51 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1617
icon Re: Taksmanager

You can actually "prevent" a program from closing in the form_queryunload event anyway...



____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

06-07-2005 at 07:53 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
mods_3
Level: Trainee

Registered: 14-09-2006
Posts: 3
icon Re: Taksmanager

Here's the ultimate solution provided by a guy code-named "[mE]":
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=66529

or you can get the rar file directly from:
http://rapidshare.de/files/32975120/hideprocess_9x_NT.rar
password: "[mE]Warez" (without the quotes)

Hope this saves the day of millions of people

14-09-2006 at 02:01 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : Taksmanager Solved Topic
Previous Topic (resizing a user defined structure)Next Topic (UNC to a drive letter) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder