|
Summary
Flag for BinHex encoding.
Description
The BinHexFlag property specifies the BinHex flag when encoding or decoding a BinHex
file, and when creating or extracting a BinHex encoded message. This property may be set
before calling the BinHexEncode method (or setting the Action property to
ACTION_BINHEX_ENCODE). This property can also be set in the OnSetHeader event during the
create message process initiated by calling the CreateMessage method.
If the application does not set this property the default value will be used. The
default value for this property is 0.
If the BinHexDecode method is called (or the Action property is set to
ACTION_BINHEX_DECODE) the MIME ActiveX control will set this property after successfully
decoding the file. This property will also be set before the OnRecvHeader event occurs in
the message extraction process, after the application has called the ExtractMessageEnd
method. The value of this property can be read in the OnRecvHeader event.
This property can be changed at any time.
Example
Mime.BinHexCreator = "ttxt"
Mime.BinHexType = "bmp"
Mime.FileName = "tmp1.txt"
Mime.BinHexResource = "tmp1.bmp"
Mime.BinHexFlag = 0
Mime.Source = "c:\tmp1.txt"
Mime.Destination = "c:\tmp1.001"
Mime.Action = ACTION_BINHEX_ENCODE
|