Answer: How to hide your app from the Task List 
Author Message
 Answer: How to hide your app from the Task List

For those who really need to know.

NOTE: This code will *NOT* work in NT.

All the best.

Kind regards,
     Tony Jones
     Southern Oracle Software
     Southport, Queensland, Australia
     Web Page: http://www.*-*-*.com/

'Declares
Public Declare Function RegisterServiceProcess Lib "kernel32" (ByVal
ProcessID As Long, ByVal ServiceFlags As Long) As Long
Public Declare Function GetCurrentProcessId Lib "kernel32" () As Long

'Form_Load Code
#if win95 then
    RegisterServiceProcess GetCurrentProcessId, 1 'Hide app
#else
#endif

'Form_Unload Code
#if win95 then
    RegisterServiceProcess GetCurrentProcessId, 0 'Remove service flag
#else
#endif



Thu, 22 Feb 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. How do I hide app icon but still show app in task list

2. Hide app from "End Task" list

3. Launching Multiple threads from VB app / hide process in task list

4. Cheallenge :- Hide app from NT task list...

5. Hiding VB5 app from NT task list.

6. hiding VB5 app from task list

7. Hiding app from Task List

8. Hiding VB5 app from NT task list.

9. Hide an app from the task list

10. Hide app from task list

11. Hiding Task ID in Task List

12. Hide App from Task Manager in NT/2000

 

 
Powered by phpBB® Forum Software