Chapter 2 -- 106
Programmer’s Guide
OLEObject Object
Properties
Methods
DocObject
object properties
DocObject
object methods
Object
EmbedFile
LinkFile
ConnectServer
"
"
"
"
OLEObject.Object
Returns directly the
IDispatch
interface of the object.
Access
Read-Only.
Type
VT_DISPATCH.
"
"
"
"
OLEObject. EmbedFile
VTS_BOOL or Boolean
EmbedFile
(
strOLEFileNameToCon-
nect
).
Connects the object to a file (see Insert OLE object dialog box).
Return value
: Returns the result of the connection.
Parameters
:
strOLEFileNameToConnect
Required VT_BSTR or String. The
name of the filename to connect to.
"
"
"
"
OLEObject. LinkFile
VTS_BOOL or Boolean
LinkFile
(
strOLELinkFileNameToCon-
nect
).
Connects the object to a file (see Insert OLE object dialog box).
Return value
: Returns the result of the connection.
Parameters
:
strOLELinkFileNameToConnect
Required VT_BSTR or String.
The name of the linkfilename to connect to.
Object
Properties
Object
Methods