PC-Dmis 2010 MR1 Object Library | Send comments on this topic. | See Object Hierarchy Chart
Post Method
See Also

Collapse All Expand All

Source
  Required String that indicates the file from which to import or export.

Destination
  Required String that indicates the file into which to import or export.

# Description

Imports or exports data to/from specified part program

The Post function tells PC-DMIS to import or export Source into Destination. It returns TRUE if the import or export process is successful, FALSE otherwise.

Exactly one of Source and Destination must be a PC-DMIS .prg or .cad file. If it is Source, then PC-DMIS will export based on the name of the Destination file. If the Destination file is a PC-DMIS .prg or .cad file, then PC-DMIS will import based on the name of the Source file.

The Source file must already exist, but the Destination file need not already exist.

# Syntax

Visual Basic

    Public Function Post( _
       ByVal Source As String, _
       ByVal Destination As String _
    ) As Boolean

# Parameters

Source
  Required String that indicates the file from which to import or export.
Destination
  Required String that indicates the file into which to import or export.

# Return Type

This method returns a Boolean value. Boolean returns true if the function succeeds, false if it fails.

# See Also

Application Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.