Description Opens a file, optionally displays it to the user and optional returns a reference to the load Object.
-
Return Type
-
A Boolean value. A Boolean with value True when the operation is successful. Failure Returns False. Failure conditions: Implementation defined.
-
Syntax
-
object.FileOpen (sDisplayName, pOverridden, sFileName, sFolderPath, sObjectName, bVisible, pUnknown)
The FileOpen Method syntax has these parts: |
| object | An expression evaluating to an object of type McDataHandler. | | sDisplayName | Required. A String value. | | pOverridden | Required. An IUnknown object. | | sFileName | Required. A String value. The name of the file to opened.
sFolderPath : The folder path of the file.
bVisible : When True the object should be displayed in the GUI (when Applicable).
pUnknown : A reference to the created object or Nothing. | | sFolderPath | Required. A String value. | | sObjectName | Required. A String value. | | bVisible | Required. A Boolean value. | | pUnknown | Required. An IUnknown object. |
|