Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6 - prevent it from being closed

Status
Not open for further replies.

Akroma

Technical User
Apr 14, 2005
7
0
0
CA
I was requested to design an app which either cannot be closed by the task manager's 'end process', or does not appear in the task manager.
-althought i would like to use the kill command on it if needed.
anyone have any examples/hints on going about to do this?

thanks,

:)
 
>does not appear in the task manager

You'll need to write rootkit ...

>cannot be closed by the task manager's 'end process'

Trickier in VB than you might think. You need to be able to intercept and cancel WM_QUIT messages (which don't go to a windows message queue, so you can't do this by subclassing the DefWindowsProc.

It might just be simpler to hide/rename taskmanger ...
 
hmmm. i think i'll be going with the rootkit option. seems like the simpler method.
Thanks,

:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top