12.54. Save Method

Description

Saves the Barcoce ActiveX object in a file, in binary or XML format.

Syntax

object.Save Destination, PersistFormat 
  • Destination

    A Variant that represents the complete path name of the file where the object is to be saved.

  • PersistFormat

    A PersistFormatEnum value that specifies the format in which the object is to be saved (XML or Bianry). The default value is mbxPersistBinary.

Remarks

The Save method saves the property data into a disk file or a Streamobject in binary or XML format. The PersistFormat can be one of these values:

Table 12.11. PersistFormat options (Save method)

Constant Value Description
mbxPersistBinary 0 Binary Format
mbxPersistXML 1 XML Format

If the file already exist, the method overwrites the file.

See Also

Section 12.53, “Load Method”