F
Frank Uray
Hi all
I am trying to loop a Textfile.
This Textfile is located on a shared drive and it is
used by another process.
When I try to read it I get an exeption:
The process cannot access the file 'file.log' because it is being used by
another process.
I am opening like:
System.IO.FileStream local_FileStream = new System.IO.FileStream("File.log",
System.IO.FileMode.Open, System.IO.FileAccess.Read, System.IO.FileShare.Read);
How can I open a file when it is open ??
For example, I can open this file with Notepad ...
Thanks for any comments
Best regards
Frank
I am trying to loop a Textfile.
This Textfile is located on a shared drive and it is
used by another process.
When I try to read it I get an exeption:
The process cannot access the file 'file.log' because it is being used by
another process.
I am opening like:
System.IO.FileStream local_FileStream = new System.IO.FileStream("File.log",
System.IO.FileMode.Open, System.IO.FileAccess.Read, System.IO.FileShare.Read);
How can I open a file when it is open ??
For example, I can open this file with Notepad ...
Thanks for any comments
Best regards
Frank