wodMailbox ActiveX Control - BinHex4 Method
      
 

Description

Decodes file encoded with BinHex4 encoding.


Return Type

None  


Syntax

object.BinHex4 InFile, OutFile



The BinHex4 Method syntax has these parts:

Part Description
object An expression evaluating to an object of type Decoder.
InFile Required. A String value. Holds full path to file on disk that is to be decoded.
OutFile Required. A String value. Holds full path to file on disk where will decoded file be saved.

Remarks

Binhex4 method will decode file specified in InFile parameter and store it to file specified in OutFile parameter. BINHEX decoding will be used, no matter if InFile is encoded using same algorithm or not. If InFile is invalid (for example different encoding), unexpected results may occur, but mostly invalid OutFile will be saved. If result file exists, it will be truncated.

No headers are read or used from current message object. If you want to save attachment, you should use Attachment.Save method instead.