P Petar Atanasov May 22, 2007 #2 How do you fill a listbox with the name and hwnd of all running programs? Click to expand... 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
How do you fill a listbox with the name and hwnd of all running programs? Click to expand... 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