Description

Creates a new database McDBNode from a COM File.

Return Type

A Boolean value.   A McDBNode with a reference to the new/overwritten McDBNode.
Failure Returns Nothing.

Failure conditions:
Implementation defined.

Syntax

object.FileStoreNode (sDisplayName, pOverridden, sFileName, sFolderPath, pdbnodeTarget, eStorageMethod, sStorageFileName, sNodeName, eOverWrite, pdbtypeSource, ppdbnodeStored)

The FileStoreNode Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataHandler.
sDisplayNameRequired. A String value.
pOverriddenRequired. An IUnknown object.
sFileNameRequired. A String value. The given filename . sFolderPath : The folder path of the file. pdbnodeParent : The McDBNode that shall be the parent of the newly stored McDBNode. eStorageMethod : The method of data storage. sStorageFileName : The file name to used when the File is stored to a file. bOverwrite : When True the McDBNode for the pUnknown will be an attempted to be overwritten. pdbtypeSource : The requested structure of the new McDBNode.
sFolderPathRequired. A String value.
pdbnodeTargetRequired. A McDBNode object.
eStorageMethodRequired. A mcDataNodeStorageMethods enumeration, as described in settings.
sStorageFileNameRequired. A String value.
sNodeNameRequired. A String value.
eOverWriteRequired. A mcDataNodeOverwrites enumeration, as described in settings.
pdbtypeSourceRequired. A McDBType object.
ppdbnodeStoredRequired. A McDBNode object.

Settings

The settings for eStorageMethod are:

ConstantValueDescription
 mcdatnsm_NotSpecified0

No Value. Use default value specified to the database type.

 mcdatnsm_StoreFilepath65536

Store the filename of a file (file must be already saved)

 mcdatnsm_StoreFileData131072

Save the data in the database

 mcdatnsm_StoreCopyFileName262144

Save to a database managed file and store filename in database

 mcdatnsm_All458752

Not a valid value. Use for bit mask of possible values.

The settings for eOverWrite are:

ConstantValueDescription
 mcdaton_NoOverwriteMakeNew0

Default: FALSE - Add new with all content and make new when instead of overwrite.

 mcdaton_Attributes1

add or overwrite attributes

 mcdaton_AttributesRemoveOld2

remove any existing attributes (prior to save)

 mcdaton_Data4

add or overwrite data

 mcdaton_DataRemoveOld8

remove existing data (prior to save)

 mcdaton_Icons16

add or overwrite icons

 mcdaton_IconsRemoveOld32

remove any existing attributes (prior to save)

 mcdaton_Categories64

add categories

 mcdaton_CategoriesRemoveOld128

remove any existing categories (prior to save)

 mcdaton_Children256

add children

 mcdaton_ChildrenRemoveOld512

remove any existing children (prior to save)

 mcdaton_RemoveOld682

Overwrite All

 mcdaton_All1023

Add or Overwrite all

 mcdaton_AllTrue-1

Legacy support. Same as mcdaton_All.