ImportMessage Method

Replace the current message with the contents of a file.

Syntax

object.ImportMessage( FileName )

Remarks

The ImportMessage method reads the specified file and replaces the current message with its contents. The following is a description of the arguments that may be passed to the method:

FileName
A string which specifies the name of the text file to import.

Return Value

A value of zero is returned if the method was successful. Otherwise, a non-zero error code is returned which indicates the cause of the failure.

See Also

AppendMessage Method, ExportMessage Method, ParseMessage Method


Copyright © 2008 Catalyst Development Corporation. All rights reserved.