Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Get the list of currently Running program

Get the list of currently Running program

Scheduled Pinned Locked Moved Visual Basic
question
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rupesh Kumar Swami
    wrote on last edited by
    #1

    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

    F K 3 Replies Last reply
    0
    • R Rupesh Kumar Swami

      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

      F Offline
      F Offline
      Fu Manchu
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • R Rupesh Kumar Swami

        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

        K Offline
        K Offline
        Khatri Mitesh
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • R Rupesh Kumar Swami

          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

          K Offline
          K Offline
          Khatri Mitesh
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups