Of course that example I sent gives only the current logged in username, not the owner of the process.
I do recall that in the demos with Delphi there is a sample Task Manager program. I can't spot it on my installation (D2007 on Vista where I have no idea where the demo projects are hidden!) - but that should give a hint. Actually I found the demos - they are in C:\Users\Public\Documents\RAD Studio\5.0\Demos but Ididn't spot the task manager one there with a quick look.....I do remember there being something in earlier Delphi versions. John _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe