tag:blogger.com,1999:blog-11049085.post111148950087495138..comments2023-10-19T22:31:11.386+03:00Comments on Alex Pinsker: How to read a file that's in use by another process.Alex Pinskerhttp://www.blogger.com/profile/01712994496088023843noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-11049085.post-19367774779627098602019-12-27T23:15:16.953+02:002019-12-27T23:15:16.953+02:00No me funcionóNo me funcionóDiegohttps://www.blogger.com/profile/14011347849477613489noreply@blogger.comtag:blogger.com,1999:blog-11049085.post-33146390583532865122016-03-31T15:55:12.925+03:002016-03-31T15:55:12.925+03:00You are welcome mate. I've semi-abandoned this...You are welcome mate. I've semi-abandoned this blog, but it's a great pleasure to still hear Thank You years after..Alex Pinskerhttps://www.blogger.com/profile/01712994496088023843noreply@blogger.comtag:blogger.com,1999:blog-11049085.post-65643621111685310762016-03-31T14:57:14.604+03:002016-03-31T14:57:14.604+03:00This fixed my same issue in .Net 4.5
11 years late...This fixed my same issue in .Net 4.5<br />11 years later after your original post, thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11049085.post-80908111545423733832012-08-25T12:09:44.476+03:002012-08-25T12:09:44.476+03:00That did the trick. Thank you so much!That did the trick. Thank you so much!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11049085.post-73480455908358172482012-04-09T18:52:23.809+03:002012-04-09T18:52:23.809+03:00Solved my problem, thanks!
I just took the FileSt...Solved my problem, thanks!<br /><br />I just took the FileStream and used it in the StreamReader's constructor.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11049085.post-71987784665530019932012-01-20T10:49:58.837+02:002012-01-20T10:49:58.837+02:00Also very thanks! I almost did File.Copy(...) for ...Also very thanks! I almost did File.Copy(...) for that issue, but thanks to you (Anonymous) it works great!<br /><br />Thanks again!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11049085.post-86016152660104832292011-08-25T12:06:19.885+03:002011-08-25T12:06:19.885+03:00Thanks for solving this puzzle :)Thanks for solving this puzzle :)Salaciakhttps://www.blogger.com/profile/00374617297696721637noreply@blogger.comtag:blogger.com,1999:blog-11049085.post-22286458397916532962009-04-16T08:16:00.000+03:002009-04-16T08:16:00.000+03:00Thanks! just by adding "FileShare.ReadWrite" I can...Thanks! just by adding "FileShare.ReadWrite" I can fix a problem that has been a known issue in our app for years.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11049085.post-43850720826033104962008-09-02T16:34:00.000+03:002008-09-02T16:34:00.000+03:00That's just worked for me as well (VS 2008)... I ...That's just worked for me as well (VS 2008)... I can kind of understand the logic in it but cannot quite understand why Microsoft didn't make ReadWrite the default!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11049085.post-1158822857584276032006-09-21T10:14:00.000+03:002006-09-21T10:14:00.000+03:00I know this is an older posting, but I just found ...I know this is an older posting, but I just found it. :) Your solution worked great for me, and after reading the Microsoft "subsequent" line, it made sense. Any file access to the file AFTER (or subsequently to) your process will have Read/Write. If it were only Read, then subsequent processes could only Read the file. I hope this makes sense to someone else! Thanks for the post.Anonymousnoreply@blogger.com