How to check the the file is opened or not?

Mar 26 2008 7:00 AM
Hi all,
             I have a file, named "test.cs". it will be opened by many editors(like notepad, MSWord, Word Pad, VS IDE etc).
I want to write a functin in my application that detect the "test.cs" file is opened by which editor or process?
I needs this process-ID ?

thanks

Answers (1)