jayawant.sawant 0 Newbie Poster

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 it removes the application & process in taskmanager.Its wrong because it destroys the application.My question is that only remove application name from taskmanager without destroying the application.Please help me to avoid that issue.

Thanks,

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.