Chapter 2 -- 107
Reference Guide
"
""
" OLEObject. ConnectServer
VTS_BOOL or Boolean
ConnectServer( strCLSIDorPROGID-
ServerName ).
Connects the object to an OLE server (see Insert OLE object
dialog box).
Return value: Returns the result of the connection.
Parameters:
strCLSIDorPROGIDServerName Required VT_BSTR or
String
. The CLSID with brackets or directly the name of the OLE
server.