Get the list of currently Running program
-
hi all, i want to get the list of all Application , that are currently running on my computer and which is listed in Application tab of Windows Task manager. anybody have idea that how can i perform this task ?
Rupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company
-
hi all, i want to get the list of all Application , that are currently running on my computer and which is listed in Application tab of Windows Task manager. anybody have idea that how can i perform this task ?
Rupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company
the anwser is .....Imports System.Diagnostics.Process with is not that obvious Imports System.Diagnostics.Process Module Module1 Sub Main() Dim myProcess() As Process = Process.GetProcesses() For Each proc As Process In myProcess Console.WriteLine("Process: {0} ID: {1}", proc.ProcessName, proc.Id) Next End Sub End Module Andy
-
hi all, i want to get the list of all Application , that are currently running on my computer and which is listed in Application tab of Windows Task manager. anybody have idea that how can i perform this task ?
Rupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company
imports system.diagnostics Public Sub showProcesses() Dim W As Object Dim sQuery As String Dim processes As Object Dim process As Object W = GetObject("winmgmts:") sQuery = "SELECT * FROM win32_process" processes = W.execquery(sQuery) For Each process In processes MsgBox(process.Name) 'you can also get the process.Handle Next W = Nothing processes = Nothing process = Nothing End Sub This function get the name of all running process Names. Thanx Mitesh Khatri khatrimitesh@hotmail.com
-
hi all, i want to get the list of all Application , that are currently running on my computer and which is listed in Application tab of Windows Task manager. anybody have idea that how can i perform this task ?
Rupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company
Hiii Mr. Rupesh :laugh: http://www.codeproject.com/KB/applications/tbarsort.aspx[^] I send a codeproject link for get the all task bar item. may be it helps for You. Thanx Mitesh Khatri ;P Khatrimitesh@hotmail.com