The problem is finding the pid. The process name is wfica.exe, but there could be multiple wfica.exe's running depending on how many of citrix apps are running. So i can't kill it by the process name.
So i'm looking for a way to find the pid of the citrix app i want to close. Is there an application object that holds properties like "WindowTitle" and "Pid".
And if so, is there a container of the objects that i can loop through to find the citrix app i'm looking for.
If there are no objects I can use, i'm willing to search the registry, use a command-line tool. If task manager can do it programmaticaly, then i should be able to as well, right?
_________________________
Eric