|
Summary
Resource fork for BinHex encoding.
Description
The BinHexResource property specifies the resource fork when encoding or decoding a
BinHex file. This property may be set before calling the BinHexEncode method (or setting
the Action property to ACTION_BINHEX_ENCODE.
If the application does not set this property the default value will be used. The
default value for this property is NULL. If there is no Resource fork to be encoded, or
decoded this property should be set to NULL.
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 is NOT used when creating or extracting a binhex encoded message. When
creating a binhex encoded message the MIME ActiveX control will fire the OnSetBody event
to get the resource file. When extracting a binhex encoded message, the resource file name
or contents will be delivered in one or more OnRecvBody events.
This property can be changed at any time.
Example
Mime.BinHexCreator = "ttxt"
Mime.BinHexType = "text"
Mime.FileName = "tmp1.txt"
Mime.BinHexResource = ""
Mime.BinHexFlag = 0
Mime.Source = "c:\tmp1.txt"
Mime.Destination = "c:\tmp1.001"
Mime.Action = ACTION_BINHEX_ENCODE
|