Open Method

Applies To:

Documents Collection


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


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


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


See Also:

Document Object


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