Not a Member Yet,
Click here to Register
How do you like the new design?

ID: 184
Viewed: 2931
Added: Apr 29, 2002
Snippet uploaded by: snippet
Written By: unknown
Demo: Sorry, no demo

User Rated at: 0 Stars
Rate This:

Thank you for your vote. Please wait...

It appears you already voted for this snippet

It appears your vote value was empty

hide from task manager ( ctrl-alt-del ) win95/98

Highlight all by clicking in box
Declare Function RegisterServiceProcess Lib "kernel32" _
(ByVal ProcessID As Long, ByVal ServiceFlags As Long) As Long

Declare Function GetCurrentProcessId Lib "kernel32" () As Long

' ServiceFlags: 0 means unregister as a service, 1 means to register.

ret = RegisterServiceProcess (GetCurrentProcessId, 1)

'When you register the service process it becomes hidden.

ret = RegisterServiceProcess (GetCurrentProcessId, 0)

'And the unhidden when you unregister it when you're finished with hiding it.

Highlight All

No Comments to show

Please completely fill out the form below if you want to review this snippet. All reviews are subject to validation.

Replying to a Comment...

Adding your comment. Please wait...

Thanks for adding your comment!. After further review it will be added.

There was a problem adding your comment. Please try again.

Please complete all the fields in the form before sending.

© 2002 - 2018 All Rights Reserved. Conditions