4
Contributors
8
Replies
11
Views
8 Years
Discussion Span
Last Post by scrypt3r
2

Try this :

Private Sub ProcessView()
        Dim Prc As Process()
        Dim x As Integer

        Prc = Process.GetProcesses

        For x = 0 To UBound(Prc)
            ListBox1.Items.Add(Prc.GetValue(x))
        Next
End Sub
Votes + Comments
Good :P
Great code
0

Ah, your code simply puts a blank entry into the box, does anyone know how to retreve the processes name/info ?

2

>> ListBox1.Items.Add(Prc(x).ProcessName)

thanks iamthwee for the correction.

Votes + Comments
Great code :)
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.