|
The following provides a complete listing of the D_MIME.TXT definition file. If your
application uses more than one Distinct ActiveX control in the same form, then some
definitions will conflict. For example, the FTP Client ActiveX control includes the
definition
Global Const ACTION_DISCONNECT = 3
in the D_FTP.TXT file and the Telnet ActiveX control includes the definition
Global Const ACTION_DISCONNECT = 2
in the D_TNET.TXT file. To avoid this conflict, you must rename at least one of the
constants (for example, FTP_ACTION_DISCONNECT or TNET_ACTION_DISCONNECT).
' MIME ActiveX Control
' (C) Copyright 1995 - 1998 by Distinct Corporation
' All rights reserved
' actions
Global Const ACTION_NONE = 0
Global Const ACTION_ABORT = 1
Global Const ACTION_CREATE = 2
Global Const ACTION_EXTRACT = 3
Global Const ACTION_UUENCODE = 4
Global Const ACTION_UUDECODE = 5
Global Const ACTION_BASE64_ENCODE = 6
Global Const ACTION_BASE64_DECODE = 7
Global Const ACTION_QUOTED_ENCODE = 8
Global Const ACTION_QUOTED_DECODE = 9
Global Const ACTION_CREATE_X = 10
Global Const ACTION_BINHEX_ENCODE = 11
Global Const ACTION_BINHEX_DECODE = 12
' message type
Global Const MESSAGE_NONE = 0
Global Const MESSAGE_EXTERNAL = 1
Global Const MESSAGE_PARTIAL = 2
' address field encoding types
Global Const ADDR_BASE64_ENCODED = 2
Global Const ADDR_QUOTED_ENCODED = 3
Global Const ADDR_NO_ENCODING = 7
' end of level indicator for multipart messages
Global Const END_OF_LEVEL = 19
' no header indicator
Global Const NO_HEADER = 20
' error codes
Global Const ERR_CANNOT_PERFORM_ACTION = 1
Global Const ERR_IN_ACTION = 2
Global Const ERR_CANNOT_ABORT = 3
Global Const ERR_CANNOT_CREATE = 4
Global Const ERR_CANNOT_EXTRACT = 5
Global Const ERR_CANNOT_UUENCODE = 6
Global Const ERR_CANNOT_UUDECODE = 7
Global Const ERR_CANNOT_BASE64_ENCODE = 8
Global Const ERR_CANNOT_BASE64_DECODE = 9
Global Const ERR_CANNOT_QUOTED_ENCODE = 10
Global Const ERR_CANNOT_QUOTED_DECODE = 11
Global Const ERR_PARTIAL_MESSAGE = 12
Global Const ERR_IN_CREATE = 13
Global Const ERR_MIME_ABORTED = 14
Global Const ERR_MIME_OUT_OF_MEMORY = 15
Global Const ERR_MIME_FILE_ERROR = 16
Global Const ERR_MIME_CANNOT_BINHEX_DECODE = 17
Global Const ERR_MIME_INVALID_ENCODING = 18
Global Const ERR_MIME_INVALID_FIELD = 19
Global Const ERR_MIME_NO_ADDR_FIELD = 20
Global Const ERR_MIME_INVALID_DEST = 21
Global Const ERR_MIME_ENCODING_ERROR = 22
Global Const ERR_MIME_DATA_ERROR = 23
Global Const ERR_MIME_EXTRACT_START_FAILED = 24
Global Const ERR_MIME_INVALID_MSG_HANDLE = 25
Global Const ERR_MIME_INVALID_VARIANT_TYPE = 26
Global Const ERR_MIME_DECODING_ERROR = 27
Global Const ERR_MIME_MSG_ASSEMBLY_ERROR = 28
|