|
|
|
|
<Word Processing>.Open (Function) In french: <Traitement de texte>.Ouvre Opens a Word Processing file (docx format) in Read/Write mode. The docx file is opened and locked until it is closed. Remark: To create a docx file without using an initial file, all you have to do is create a Document variable (in this case, <Word Processing>.Open is useless). WP_MyWP.Open("C:\Users\test\Documents\file.docx") Â IF ErrorOccurred() THEN Error(ErrorInfo()) RETURN END
Syntax
<Result> = <Word Processing control>.Open(<Path> [, <Password>])
<Result>: Boolean - True if the docx file was opened in the Word Processing control,
- False otherwise.
<Word Processing control>: Control name Name of Word Processing control where the docx file will be opened. <Path>: Character string Corresponds to one of the following elements: - Full or relative path of docx file to open (up to 260 characters).
- Name of the Buffer variable with the docx document to display in the Word Processing control.
- Name of the memo item with the docx document to display in the Word Processing control. This parameter has the following format: <Data file> <Item>.
<Password>: Optional character string Password to open the docx file to use (if the file is protected by a password).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|