F
fniles
I am using VB.NET 2008 and StreamReader to read from a file on our server.
While the file is open in this VB.NET program, another program written in
VB6 at the same time trying to append to the same file, and it got
"Permission Denied" error.
I am wondering if I can use StreamReader without locking the file for update
by other program.
This is how I open the file
srBCAS = New StreamReader(m_sServer & "\log.txt",
System.Text.Encoding.Default)
Thank you
While the file is open in this VB.NET program, another program written in
VB6 at the same time trying to append to the same file, and it got
"Permission Denied" error.
I am wondering if I can use StreamReader without locking the file for update
by other program.
This is how I open the file
srBCAS = New StreamReader(m_sServer & "\log.txt",
System.Text.Encoding.Default)
Thank you