By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,550 Members | 918 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,550 IT Pros & Developers. It's quick & easy.

how to get a file has been open which application or process.

P: n/a
Dim p As Process = System.Diagnostics.Process.Start(filename)
p.WaitForExit()

Open a file use above method, and use WaitForExit method to wait, when file
is MS Word file, p equal to nothing.
Who can tell me how to get the file has been open which application or
process.

thx!
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
* "Lin JinCong" <ki******@hotmail.com> scripsit:
Dim p As Process = System.Diagnostics.Process.Start(filename)
p.WaitForExit()

Open a file use above method, and use WaitForExit method to wait, when file
is MS Word file, p equal to nothing.
Who can tell me how to get the file has been open which application or
process.


AFAIK, this cannot be done.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
<URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 20 '05 #2

P: n/a

"Herfried K. Wagner [MVP]
is MS Word file, p equal to nothing.
Who can tell me how to get the file has been open which application or
process.


AFAIK, this cannot be done.

Yet

Cor
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.