Website Design United States, Website Design California, Website Designing United States, Website Designing California

Hide Your Process from the Task List. (WORKS) - Visual Basic 6

Instead of using all those API Calls you can make the program disappear from the Processes List just by using a One-Liner and it Works. Just try the program out the way it is given in the comments before the code and see the OneLiner at it's Best.

' REMOVING AN APP FROM THE PROCESSES LIST
' Keep Pressing Ctrl + Alt + Del on the following
' occasions to see the code at work:
' 1) When The Form Loads [the Process is visible]
' 2) When Command1 is clicked [ Invisible]
' 3) When Command3 is clicked [Visible]
'
' I don't see any need for API Calls just to hide the
' process.Just the OneLiner is enough to do the Trick.
' -Sanchit Karve
' born2c0de@hotmail.com

Private Sub Form_Load()
' Shows the process in the Ctrl+Alt+Del Screen
' when the form loads
App.TaskVisible = True
End Sub

Private Sub Command1_Click()
' When This Button is clicked the program
' is not visible in the processes list
App.TaskVisible = False
End Sub

Private Sub Command2_Click()
'When This Button is clicked the program
' is visible in the processes list.
App.TaskVisible = True
End Sub


WEB DESIGN INDIA
42 B Malviya Nagar , New Delhi-110017

Skype: manmeetsi
Email: support.webdesignindia@gmail.com
Tel: 91-011-40502005, 9810067295

 















 


© 2008-2009 dotnet4all.com