DEEJAYSEE,

Welcome to the board!

Have you thought about using this utility -
PSLIST?

If you have using UNIX or releated OS, it is similar to ps (Process List and display) and when used in conjunction with PSKILL it is like the UNIX kill (kill a process) Program. That is you can kill processes by ID..

When you talk about hWnds for example, are you trying to write something in VB? Are you trying to determine not only if a task is active, but what the Window position is?

Thanks!

- Kent

_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's