Home > Back-end >  VC call Documents: : Open Open a word document is not closed to crash the program
VC call Documents: : Open Open a word document is not closed to crash the program

Time:09-26

M_wdDocs. Open (vFileName,//FileName
VTrue,//Confirm Conversion.
(bReadOnly? VTrue: vFalse),//ReadOnly.
VFalse,//AddToRecentFiles.
VOptional,//PasswordDocument.
VOptional,//PasswordTemplate.
VFalse,//Revert.
VOptional,//WritePasswordDocument.
VOptional,//WritePasswordTemplate.
VOptional,//Format.//the Last argument for Word 97
VOptional,//Encoding//New for 2000/2002 Word
VOptional,//Visible
VOptional,//OpenAndRepair
VOptional,//DocumentDirection wdDocumentDirection LeftToRight
VOptional,//NoEncodingDialog
VOptional);//Close the Open the parameters

VC call Documents: : Open Open a Word document, if the document has been opened before, will cause the program crash,
Refer to the great god solution!!!!!!
  • Related