PC-DMIS 2022.1 Object Library
Post Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
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.
PCDLRN ActiveX DLL > Application Object : Post Method

Glossary Item Box

Description

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

Copyright © 2022. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.