How to: List Processes (Visual Basic)

This example produces a list of running application processes. This information can be used when calling the AppActivate function.

Dim pList() As System.Diagnostics.Process = _
    System.Diagnostics.Process.GetProcesses
For Each proc As System.Diagnostics.Process In pList
    MsgBox(proc.ProcessName)
Next

This example requires:

Community Additions

ADD
Show: