Jayawant Sawant

Jayawant Sawant

  • NA
  • 1
  • 6.1k

how to remove application form taskmanager using vb.net windows application.

Apr 26 2011 5:37 AM
hi all,

In my project is also administrator purpose also.I have not found solution about how to remove application from taskmanager using vb.net windows application.In vb.net I have not found properties of application with respect of that issue.But in vb it have properties of app.taskvisible then it is possible in vb.Please help me to avoid that issue.


Imports System.Diagnostics

 



The there is a method called Process.GetProcesses() returns all the current processes in your computer which returns an array of processes.



Process.GetProcesses()

 Dim _proc = Process.GetProcessesByName("<Application Name which you want to kill>")    

For i As Integer = 0 To _proc.Count - 1        

_proc(i).Kill()    

Next i

I have try these code but these remove process & application simaltennously.but is my question how to remove only application not process from  taskmanager without destroying the application.

Answers (2)