Open Method

Applies To:

Documents Collection

Description:

Opens an existing file, adds the resulting document to the collection, and returns a reference to it.

Syntax:

LPDISPATCH/Object Documents.Open ( BSTR/String filename,
                                                                    [VARIANT password]
)
filename pathname of file to be opened
password password (string) needed to open the file, if any; optional; not yet used in any CS product

Remarks:

NULL/Nothing will be returned if opening the specified file fails.

Example:

See Also:

Document Object

 



2005 CambridgeSoft Corporation. All Rights Reserved. Privacy Statement
Tel  800 315-7300 / 617 588-9300     Fax  617 588-9390     Email   info@cambridgesoft.com
CambridgeSoft Corporation, 100 CambridgePark Drive, Cambridge, MA 02140 USA