emerald emerald - 7 months ago 15
Vb.net Question

List all processes that currently running on windows by VB.NET 2.0

In my program, i need to List up all processes that currently running on windows by VB.NET framework 2.0.

Can i get this list with VB.NET coding?

Answer

You can use Process.GetProcesses function

try this code.

    For Each OneProcess As Process In Process.GetProcesses
        ListBox1.Items.Add(OneProcess.ProcessName)
    Next
Comments