Yep,
 
It can all be done in scripting - Assuming you are on Win2K/XP and I think NT4 sp6a . In either case the MSDN stuff on script host has a example that does exactly this. I only looked at it quickly, but it used COM objects to access the task list and kill the process - so of course the same can be done with Delphi. Why not look at your current script program?
 
Otherwise have a look at this site http://www.develop.com/kbrown/ in particular the session viewer/Window Stations program - all in C++ but it will give you a good starting point.
 
Myles.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 18 June 2003 12:23
To: Multiple recipients of list delphi
Subject: [DUG]: How do I control the task manager from Delphi?

Our users are on a controlled environment where they can't use ctrl-alt-del and task manager, to kill something that has bombed. Currently they have a script program called Application Killer (written in-house), which gives them limited access to kill certain processes. This program does not work on all occasions and keeps no audit. I want to write an app killer in Delphi, which accesses the task manager list and displays a subset of what they're allowed to kill. Any pointers? What library (uses) do I need? Any sites to check?

 

Cheers

 

Dave Jollie

Tower NZ IT

09 368 4259

 

Reply via email to