vijayrajv
asked on
Hiding Problem
How to hide the VB executable(run time) from CTRL+ALT+DEL (i.e. Close program dialog box). I Know how to hide it from Taskbar and ALT+TAB, plz don’t suggest that.
meaning, u dont want to show to application in **close program** window when the user enters CTRL+ALT+DEL ?
Why ?
Sounds like a virus ;-)
Sounds like a virus ;-)
Hi vijayrajv
Sometimes developers want to hide their programs from the tasklist for a genuwine purpose, I just hope that you need to do this for the right reason and not for creating a virus like Omycron has already pointed out. I'll give you the benefit of the dout. Look at the following link
http://www.freevbcode.com/ShowCode.Asp?ID=930
Sometimes developers want to hide their programs from the tasklist for a genuwine purpose, I just hope that you need to do this for the right reason and not for creating a virus like Omycron has already pointed out. I'll give you the benefit of the dout. Look at the following link
http://www.freevbcode.com/ShowCode.Asp?ID=930
Private Declare Function GetCurrentProcessId Lib "kernel32" () As Long
Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long
Private Sub Service(Hidden As Boolean)
pid = GetCurrentProcessId()
regserv = RegisterServiceProcess(pid , Hidden)
End Sub
To make your program hidden, call Service(true) to unhide it, call Service(false)
Hope this helps. Good luck!
Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long
Private Sub Service(Hidden As Boolean)
pid = GetCurrentProcessId()
regserv = RegisterServiceProcess(pid
End Sub
To make your program hidden, call Service(true) to unhide it, call Service(false)
Hope this helps. Good luck!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hearing...
learning
ASKER
Thnx for ur exact ans.