read from an open text file under WinCE.Net 4.2?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

is there a reason that i cannot open a text file in Read-only mode when the
file is already in use by another application? is this not a very basic
ooperation of any o/s??? i get an error when attempting to open a
StreamReader( or TextReader, or BinaryReader ) on a text file which i have
opened in pocket word. any insight on how i might be able to overcome this
would be appreciated. yea, it worked well under windows ce 3 and earlier.
now i cant get it under the winCE.Net environment. coding is done using
VB.Net. anybody????
 
Anything that opens a file states at that point what the allowed sharing
will be from that point on. If the other application doesn't allow read
sharing, then you can't open it for reading.

--
Chris Tacke
Co-founder
OpenNETCF.org
Has OpenNETCF helped you? Consider donating to support us!
http://www.opennetcf.org/donate
 
Right. E.g. desktop Word opens files in a way that sharing is completely
denied too.
 
Back
Top