Link to home
Start Free TrialLog in
Avatar of vasubasava
vasubasava

asked on

Hiding From Task manager


hello everybody, i'm working with windows 2000 and i don't want that users can kill a program built on visual basic using the task manager window
ASKER CERTIFIED SOLUTION
Avatar of TDC_LuCiFeR
TDC_LuCiFeR
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of majorwoo
majorwoo

well if they are smart they can kill it from the process list, you can get around that by hiding it from the list altogether

http://setiathome.ssl.berkeley.edu/links_addons.html#links_win

yes that is the SETI@Home site but they have many windows apps for hiding your process for those of us who run it all the time - one of them can be used very easily - think i used to use runhidden back when i had windows...
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Very easy.  Visual Basic actually has a property called "TaskVisible."

VB programs start up via a main form or module.  For example, you should have a Form_Load() subroutine, or a module containing a Main() subroutine.  In either of those areas, copy and paste the following code:

App.TaskVisible = False

That's all there is to it.  Users can no longer see (and kill) your app in the Windows Task Manager.
Very easy.  Visual Basic actually has a property called "TaskVisible."

VB programs start up via a main form or module.  For example, you should have a Form_Load() subroutine, or a module containing a Main() subroutine.  In either of those areas, copy and paste the following code:

App.TaskVisible = False

That's all there is to it.  Users can no longer see (and kill) your app in the Windows Task Manager.
vasubasava:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.