Re: External Window

Tech-Archive recommends: Fix windows errors by optimizing your registry



Jim@xxxxxxxxx wrote:
How do you fill a listbox with the name and hwnd of all running
programs?

Hi, Jim
use:

Dim p() As System.Diagnostics.Process = System.Diagnostics.Process.GetProcesses()

Than for each separate process you've got p(lIdx).ProcessName, p(lIdx).Handle, etc.

In addition check this out:
http://msdn2.microsoft.com/en-us/library/system.diagnostics.aspx

HTH,
Petar Atanasov
http://a-wake.net
.