Can I retrieve the process ID (PID) ?

Is there a way to retrieve the Navision client’s process ID (PID) from Windows? If I use ctrl+alt+delete and look in Windows Task Manager, on the process tab I can see the PID for each process. That’s what I want to retrieve! Should it be possible, then I could build a function to close down the client. The function could be called for many reasons… But first I need to know the PID. Any help boys and girls? Thanks, Fredrik