reading a file
-
is there a way i can read a file that someone else has exclusive access to useing a streamreader thanks chad
No, not really. If they opened the file exclusively then it's opened, well, exclusively. It needs to be opened with
FileShare.Read
or some flag containingFileShare.Read
in order for you to read it. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles] -
No, not really. If they opened the file exclusively then it's opened, well, exclusively. It needs to be opened with
FileShare.Read
or some flag containingFileShare.Read
in order for you to read it. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles]the reson i am asking is because we have a csharp app that can read files while other users have the files exclusive and i would love to know how that programmer did it (its an app that we got from another company) and i know the files are exclusive because if i try to open then i get and error but this program dose not thanks chad
-
the reson i am asking is because we have a csharp app that can read files while other users have the files exclusive and i would love to know how that programmer did it (its an app that we got from another company) and i know the files are exclusive because if i try to open then i get and error but this program dose not thanks chad