EasyManua.ls Logo

Teklynx Discover ActiveX - Page 53

Teklynx Discover ActiveX
165 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2 -- 45
Reference Guide
"
""
" Documents.Open
VTS_DISPATCH or Document
Open( strFileName,
boolReadOnly ).
Opens the specified document and adds it to the Documents
collection.
Return value: Returns a Document
object.
Parameters:
strFileName Required VT_BSTR or String
. The name of
the document (paths are accepted).
boolReadOnly Optional VT_BOOL or Boolean
.Truetoopen
the document as read-only. By default, set to False.
"
""
" Documents.SaveAll
VTS_NONE SaveAll( boolAlwaysPrompt ).
Saves all the documents in the Documents collection.
If a document hasn’t been previously saved, the Save As dialog
box is prompted even if the Prompt parameter is assigned to
False.
Parameters:
boolAlwaysPrompt Optional VT_BOOL or Boolean.
True if
user wants to prompt the save dialog box (default: False).

Table of Contents