Does any one know the code to retreve process info and put it in a box like task manager?

Try this :

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

        Prc = Process.GetProcesses

        For x = 0 To UBound(Prc)
End Sub
commented: Great code +1
commented: Good :P +1


You're Welcome :)

hi.. thanks.
i never know this.
simple but great :)

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

Member Avatar for iamthwee


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

thanks iamthwee for the correction.

commented: Great code :) +1

Ah thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.