I have an application written in VB that runs on standard windows desktops
and queries each window that the user opens for the executable file it was
launched from. i.e MS Word returns "winword.exe" and from there I get the
file properties and the application's full name "Microsoft Word" etc...

The problem is that for Zenworks delivered applications this does not
work - as no matter if the the user launches Word, Excel, or anything else
the file is always same.

My question is simple, is there a way of telling what application is
actually running in the Zenworks window from a programmatic point of view?

I have tried to set up a test environment but gave up after 12 hours,
2gigs of downloaded files and a now broken W2K server...

Thanks for any help....