Hi,
How to open a file in a non exclusive manner ? I need to read a file
that is edited (and saved) with notepad at the same time. The following
construct does'n work:

fs = File.Open(logFile, FileMode.Open, FileAccess.ReadWrite,
FileShare.ReadWrite);

Thank you
Pierre

-----------------------------------------------
Pierre Greborio
[EMAIL PROTECTED]
http://www.pierregreborio.it
-----------------------------------------------

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to