Get Filename of the Current Active Window
I am trying to get the filename of a word document or any other window for that matter while some dialog box like Save as or Open or Print etc. is open. Can anybody give me an example of how to implement this in C#.

Thanks!
--
Saurabh
Get Filename of the Current Active Window
===

I am trying to get the filename of a word document or any other window for that matter while some dialog box like Save as or Open or Print etc. is open. Can anybody give me an example of how to implement this in C#.

Thanks!
--
Saurabh