Administrator

Administrator

  • Tech Writer
  • 2.2k
  • 1.5m

Word Documents Open ReadOnly

Apr 12 2003 11:52 PM
I am trying to open a Word Document. Word.Document theDoc = aWordEditor.WordApp.Documents.Open(ref theFileName, ref FALSE, ref FALSE, ref TRUE, ref missing, ref missing, ref FALSE, ref missing, ref missing, ref DocFormat, ref missing, ref TRUE, ref TRUE, ref missing, ref TRUE); This opens a new document but in ReadOnly mode despite the ReadOnly Parameter being set to FALSE. The documentation from MSDN: expression.Open(FileName, ConfirmConversions, ReadOnly, AddToRecentFiles, PasswordDocument, PasswordTemplate, Revert, WritePasswordDocument, WritePasswordTemplate, Format, Encoding, Visible, OpenConflictDocument, OpenAndRepair , DocumentDirection, NoEncodingDialog) Has anybody experienced the same issue or have any ideas? Thank you in advance.