2024-10-09

VBSで使える!CDOの定数一覧

' CdoCalendar
Const cdoTimeZoneIDURN = "urn:schemas:calendar:timezoneid"

' CdoCharset
Const cdoBIG5 = "big5"
Const cdoEUC_JP = "euc-jp"
Const cdoEUC_KR = "euc-kr"
Const cdoGB2312 = "gb2312"
Const cdoISO_2022_JP = "iso-2022-jp"
Const cdoISO_2022_KR = "iso-2022-kr"
Const cdoISO_8859_1 = "iso-8859-1"
Const cdoISO_8859_2 = "iso-8859-2"
Const cdoISO_8859_3 = "iso-8859-3"
Const cdoISO_8859_4 = "iso-8859-4"
Const cdoISO_8859_5 = "iso-8859-5"
Const cdoISO_8859_6 = "iso-8859-6"
Const cdoISO_8859_7 = "iso-8859-7"
Const cdoISO_8859_8 = "iso-8859-8"
Const cdoISO_8859_9 = "iso-8859-9"
Const cdoKOI8_R = "koi8-r"
Const cdoShift_JIS = "shift-jis"
Const cdoUS_ASCII = "us-ascii"
Const cdoUTF_7 = "utf-7"
Const cdoUTF_8 = "utf-8"
Const cdoISO_8859_15 = "iso-8859-15"

' CdoConfigSource
Const cdoDefaults = -1
Const cdoIIS = 1
Const cdoOutlookExpress = 2

' CdoConfiguration
Const cdoAutoPromoteBodyParts = "http://schemas.microsoft.com/cdo/configuration/autopromotebodyparts"
Const cdoFlushBuffersOnWrite = "http://schemas.microsoft.com/cdo/configuration/flushbuffersonwrite"
Const cdoHTTPCookies = "http://schemas.microsoft.com/cdo/configuration/httpcookies"
Const cdoLanguageCode = "http://schemas.microsoft.com/cdo/configuration/languagecode"
Const cdoNNTPAccountName = "http://schemas.microsoft.com/cdo/configuration/nntpaccountname"
Const cdoNNTPAuthenticate = "http://schemas.microsoft.com/cdo/configuration/nntpauthenticate"
Const cdoNNTPConnectionTimeout = "http://schemas.microsoft.com/cdo/configuration/nntpconnectiontimeout"
Const cdoNNTPServer = "http://schemas.microsoft.com/cdo/configuration/nntpserver"
Const cdoNNTPServerPickupDirectory = "http://schemas.microsoft.com/cdo/configuration/nntpserverpickupdirectory"
Const cdoNNTPServerPort = "http://schemas.microsoft.com/cdo/configuration/nntpserverport"
Const cdoNNTPUseSSL = "http://schemas.microsoft.com/cdo/configuration/nntpusessl"
Const cdoPostEmailAddress = "http://schemas.microsoft.com/cdo/configuration/postemailaddress"
Const cdoPostPassword = "http://schemas.microsoft.com/cdo/configuration/postpassword"
Const cdoPostUserName = "http://schemas.microsoft.com/cdo/configuration/postusername"
Const cdoPostUserReplyEmailAddress = "http://schemas.microsoft.com/cdo/configuration/postuserreplyemailaddress"
Const cdoPostUsingMethod = "http://schemas.microsoft.com/cdo/configuration/postusing"
Const cdoSaveSentItems = "http://schemas.microsoft.com/cdo/configuration/savesentitems"
Const cdoSendEmailAddress = "http://schemas.microsoft.com/cdo/configuration/sendemailaddress"
Const cdoSendPassword = "http://schemas.microsoft.com/cdo/configuration/sendpassword"
Const cdoSendUserName = "http://schemas.microsoft.com/cdo/configuration/sendusername"
Const cdoSendUserReplyEmailAddress = "http://schemas.microsoft.com/cdo/configuration/senduserreplyemailaddress"
Const cdoSendUsingMethod = "http://schemas.microsoft.com/cdo/configuration/sendusing"
Const cdoSMTPAccountName = "http://schemas.microsoft.com/cdo/configuration/smtpaccountname"
Const cdoSMTPAuthenticate = "http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"
Const cdoSMTPConnectionTimeout = "http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout"
Const cdoSMTPServer = "http://schemas.microsoft.com/cdo/configuration/smtpserver"
Const cdoSMTPServerPickupDirectory = "http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory"
Const cdoSMTPServerPort = "http://schemas.microsoft.com/cdo/configuration/smtpserverport"
Const cdoSMTPUseSSL = "http://schemas.microsoft.com/cdo/configuration/smtpusessl"
Const cdoURLGetLatestVersion = "http://schemas.microsoft.com/cdo/configuration/urlgetlatestversion"
Const cdoURLProxyBypass = "http://schemas.microsoft.com/cdo/configuration/urlproxybypass"
Const cdoURLProxyServer = "http://schemas.microsoft.com/cdo/configuration/urlproxyserver"
Const cdoUseMessageResponseText = "http://schemas.microsoft.com/cdo/configuration/usemessageresponsetext"

' CdoContentTypeValues
Const cdoGif = "image/gif"
Const cdoJpeg = "image/jpeg"
Const cdoMessageExternalBody = "message/external-body"
Const cdoMessagePartial = "message/partial"
Const cdoMessageRFC822 = "message/rfc822"
Const cdoMultipartAlternative = "multipart/alternative"
Const cdoMultipartDigest = "multipart/digest"
Const cdoMultipartMixed = "multipart/mixed"
Const cdoMultipartRelated = "multipart/related"
Const cdoTextHTML = "text/html"
Const cdoTextPlain = "text/plain"

' CdoDAV
Const cdoContentClass = "DAV:contentclass"
Const cdoGetContentType = "DAV:getcontenttype"

' CdoDSNOptions
Const cdoDSNDefault = 0
Const cdoDSNNever = 1
Const cdoDSNFailure = 2
Const cdoDSNSuccess = 4
Const cdoDSNDelay = 8
Const cdoDSNSuccessFailOrDelay = 14

' CdoEncodingType
Const cdo7bit = "7bit"
Const cdo8bit = "8bit"
Const cdoBase64 = "base64"
Const cdoBinary = "binary"
Const cdoMacBinHex40 = "mac-binhex40"
Const cdoQuotedPrintable = "quoted-printable"
Const cdoUuencode = "uuencode"

' CdoErrors
Const CDO_E_UNCAUGHT_EXCEPTION = -2147220991
Const CDO_E_NOT_OPENED = -2147220990
Const CDO_E_UNSUPPORTED_DATASOURCE = -2147220989
Const CDO_E_INVALID_PROPERTYNAME = -2147220988
Const CDO_E_PROP_UNSUPPORTED = -2147220987
Const CDO_E_INACTIVE = -2147220986
Const CDO_E_NO_SUPPORT_FOR_OBJECTS = -2147220985
Const CDO_E_NOT_AVAILABLE = -2147220984
Const CDO_E_NO_DEFAULT_DROP_DIR = -2147220983
Const CDO_E_SMTP_SERVER_REQUIRED = -2147220982
Const CDO_E_NNTP_SERVER_REQUIRED = -2147220981
Const CDO_E_RECIPIENT_MISSING = -2147220980
Const CDO_E_FROM_MISSING = -2147220979
Const CDO_E_SENDER_REJECTED = -2147220978
Const CDO_E_RECIPIENTS_REJECTED = -2147220977
Const CDO_E_NNTP_POST_FAILED = -2147220976
Const CDO_E_SMTP_SEND_FAILED = -2147220975
Const CDO_E_CONNECTION_DROPPED = -2147220974
Const CDO_E_FAILED_TO_CONNECT = -2147220973
Const CDO_E_INVALID_POST = -2147220972
Const CDO_E_AUTHENTICATION_FAILURE = -2147220971
Const CDO_E_INVALID_CONTENT_TYPE = -2147220970
Const CDO_E_LOGON_FAILURE = -2147220969
Const CDO_E_HTTP_NOT_FOUND = -2147220968
Const CDO_E_HTTP_FORBIDDEN = -2147220967
Const CDO_E_HTTP_FAILED = -2147220966
Const CDO_E_MULTIPART_NO_DATA = -2147220965
Const CDO_E_INVALID_ENCODING_FOR_MULTIPART = -2147220964
Const CDO_E_UNSAFE_OPERATION = -2147220963
Const CDO_E_PROP_NOT_FOUND = -2147220962
Const CDO_E_INVALID_SEND_OPTION = -2147220960
Const CDO_E_INVALID_POST_OPTION = -2147220959
Const CDO_E_NO_PICKUP_DIR = -2147220958
Const CDO_E_NOT_ALL_DELETED = -2147220957
Const CDO_E_NO_METHOD = -2147220956
Const CDO_E_PROP_READONLY = -2147220953
Const CDO_E_PROP_CANNOT_DELETE = -2147220952
Const CDO_E_BAD_DATA = -2147220951
Const CDO_E_PROP_NONHEADER = -2147220950
Const CDO_E_INVALID_CHARSET = -2147220949
Const CDO_E_ADOSTREAM_NOT_BOUND = -2147220948
Const CDO_E_CONTENTPROPXML_NOT_FOUND = -2147220947
Const CDO_E_CONTENTPROPXML_WRONG_CHARSET = -2147220946
Const CDO_E_CONTENTPROPXML_PARSE_FAILED = -2147220945
Const CDO_E_CONTENTPROPXML_CONVERT_FAILED = -2147220944
Const CDO_E_NO_DIRECTORIES_SPECIFIED = -2147220943
Const CDO_E_DIRECTORIES_UNREACHABLE = -2147220942
Const CDO_E_BAD_SENDER = -2147220941
Const CDO_E_SELF_BINDING = -2147220940
Const CDO_E_BAD_ATTENDEE_DATA = -2147220939
Const CDO_E_ROLE_NOMORE_AVAILABLE = -2147220938
Const CDO_E_BAD_TASKTYPE_ONASSIGN = -2147220937
Const CDO_E_NOT_ASSIGNEDTO_USER = -2147220936
Const CDO_E_OUTOFDATE = -2147220935
Const CDO_E_ARGUMENT1 = -2147205120
Const CDO_E_ARGUMENT2 = -2147205119
Const CDO_E_ARGUMENT3 = -2147205118
Const CDO_E_ARGUMENT4 = -2147205117
Const CDO_E_ARGUMENT5 = -2147205116
Const CDO_E_NOT_FOUND = -2146644475
Const CDO_E_INVALID_ENCODING_TYPE = -2146644451

' CdoEventStatus
Const cdoRunNextSink = 0
Const cdoSkipRemainingSinks = 1

' CdoExchange
Const cdoSensitivity = "http://schemas.microsoft.com/exchange/sensitivity"

' CdoHTTPMail
Const cdoAttachmentFilename = "urn:schemas:httpmail:attachmentfilename"
Const cdoBcc = "urn:schemas:httpmail:bcc"
Const cdoCc = "urn:schemas:httpmail:cc"
Const cdoContentDispositionType = "urn:schemas:httpmail:content-disposition-type"
Const cdoContentMediaType = "urn:schemas:httpmail:content-media-type"
Const cdoDate = "urn:schemas:httpmail:date"
Const cdoDateReceived = "urn:schemas:httpmail:datereceived"
Const cdoFrom = "urn:schemas:httpmail:from"
Const cdoHasAttachment = "urn:schemas:httpmail:hasattachment"
Const cdoHTMLDescription = "urn:schemas:httpmail:htmldescription"
Const cdoImportance = "urn:schemas:httpmail:importance"
Const cdoNormalizedSubject = "urn:schemas:httpmail:normalizedsubject"
Const cdoPriority = "urn:schemas:httpmail:priority"
Const cdoReplyTo = "urn:schemas:httpmail:reply-to"
Const cdoSender = "urn:schemas:httpmail:sender"
Const cdoSubject = "urn:schemas:httpmail:subject"
Const cdoTextDescription = "urn:schemas:httpmail:textdescription"
Const cdoThreadTopic = "urn:schemas:httpmail:thread-topic"
Const cdoTo = "urn:schemas:httpmail:to"

' cdoImportanceValues
Const cdoLow = 0
Const cdoNormal = 1
Const cdoHigh = 2

' CdoInterfaces
Const cdoAdoStream = "_Stream"
Const cdoIBodyPart = "IBodyPart"
Const cdoIConfiguration = "IConfiguration"
Const cdoIDataSource = "IDataSource"
Const cdoIMessage = "IMessage"
Const cdoIStream = "IStream"

' CdoMailHeader
Const cdoApproved = "urn:schemas:mailheader:approved"
Const cdoComment = "urn:schemas:mailheader:comment"
Const cdoContentBase = "urn:schemas:mailheader:content-base"
Const cdoContentDescription = "urn:schemas:mailheader:content-description"
Const cdoContentDisposition = "urn:schemas:mailheader:content-disposition"
Const cdoContentId = "urn:schemas:mailheader:content-id"
Const cdoContentLanguage = "urn:schemas:mailheader:content-language"
Const cdoContentLocation = "urn:schemas:mailheader:content-location"
Const cdoContentTransferEncoding = "urn:schemas:mailheader:content-transfer-encoding"
Const cdoContentType = "urn:schemas:mailheader:content-type"
Const cdoControl = "urn:schemas:mailheader:control"
Const cdoDisposition = "urn:schemas:mailheader:disposition"
Const cdoDispositionNotificationTo = "urn:schemas:mailheader:disposition-notification-to"
Const cdoDistribution = "urn:schemas:mailheader:distribution"
Const cdoExpires = "urn:schemas:mailheader:expires"
Const cdoFollowupTo = "urn:schemas:mailheader:followup-to"
Const cdoInReplyTo = "urn:schemas:mailheader:in-reply-to"
Const cdoLines = "urn:schemas:mailheader:lines"
Const cdoMessageId = "urn:schemas:mailheader:message-id"
Const cdoMIMEVersion = "urn:schemas:mailheader:mime-version"
Const cdoNewsgroups = "urn:schemas:mailheader:newsgroups"
Const cdoOrganization = "urn:schemas:mailheader:organization"
Const cdoOriginalRecipient = "urn:schemas:mailheader:original-recipient"
Const cdoPath = "urn:schemas:mailheader:path"
Const cdoPostingVersion = "urn:schemas:mailheader:posting-version"
Const cdoReceived = "urn:schemas:mailheader:received"
Const cdoReferences = "urn:schemas:mailheader:references"
Const cdoRelayVersion = "urn:schemas:mailheader:relay-version"
Const cdoReturnPath = "urn:schemas:mailheader:return-path"
Const cdoReturnReceiptTo = "urn:schemas:mailheader:return-receipt-to"
Const cdoSummary = "urn:schemas:mailheader:summary"
Const cdoThreadIndex = "urn:schemas:mailheader:thread-index"
Const cdoXMailer = "urn:schemas:mailheader:x-mailer"
Const cdoXref = "urn:schemas:mailheader:xref"
Const cdoXUnsent = "urn:schemas:mailheader:x-unsent"
Const cdoXFidelity = "urn:schemas:mailheader:x-cdostreamhighfidelity"

' CdoMessageStat
Const cdoStatSuccess = 0
Const cdoStatAbortDelivery = 2
Const cdoStatBadMail = 3

' CdoMHTMLFlags
Const cdoSuppressNone = 0
Const cdoSuppressImages = 1
Const cdoSuppressBGSounds = 2
Const cdoSuppressFrames = 4
Const cdoSuppressObjects = 8
Const cdoSuppressStyleSheets = 16
Const cdoSuppressAll = 31

' CdoNamespace
Const cdoNSConfiguration = "http://schemas.microsoft.com/cdo/configuration/"
Const cdoNSContacts = "urn:schemas:contacts:"
Const cdoNSHTTPMail = "urn:schemas:httpmail:"
Const cdoNSMailHeader = "urn:schemas:mailheader:"
Const cdoNSNNTPEnvelope = "http://schemas.microsoft.com/cdo/nntpenvelope/"
Const cdoNSSMTPEnvelope = "http://schemas.microsoft.com/cdo/smtpenvelope/"

' CdoNNTPEnvelope
Const cdoNewsgroupList = "http://schemas.microsoft.com/cdo/nntpenvelope/newsgrouplist"
Const cdoNNTPProcessing = "http://schemas.microsoft.com/cdo/nntpenvelope/nntpprocessing"

' CdoNNTPProcessingField
Const cdoPostMessage = 1
Const cdoProcessControl = 2
Const cdoProcessModerator = 4

' CdoOffice
Const cdoKeywords = "urn:schemas-microsoft-com:office:office#Keywords"

' CdoPostUsing
Const cdoPostUsingPickup = 1
Const cdoPostUsingPort = 2

' CdoProtocolsAuthentication
Const cdoAnonymous = 0
Const cdoBasic = 1
Const cdoNTLM = 2

' cdoPriorityValues
Const cdoPriorityNonUrgent = -1
Const cdoPriorityNormal = 0
Const cdoPriorityUrgent = 1

' CdoReferenceType
Const cdoRefTypeId = 0
Const cdoRefTypeLocation = 1

' cdoSensitivityValues
Const cdoSensitivityNone = 0
Const cdoPersonal = 1
Const cdoPrivate = 2
Const cdoCompanyConfidential = 3

' CdoSendUsing
Const cdoSendUsingPickup = 1
Const cdoSendUsingPort = 2

' CdoSMTPEnvelope
Const cdoArrivalTime = "http://schemas.microsoft.com/cdo/smtpenvelope/arrivaltime"
Const cdoClientIPAddress = "http://schemas.microsoft.com/cdo/smtpenvelope/clientipaddress"
Const cdoMessageStatus = "http://schemas.microsoft.com/cdo/smtpenvelope/messagestatus"
Const cdoPickupFileName = "http://schemas.microsoft.com/cdo/smtpenvelope/pickupfilename"
Const cdoRecipientList = "http://schemas.microsoft.com/cdo/smtpenvelope/recipientlist"
Const cdoSenderEmailAddress = "http://schemas.microsoft.com/cdo/smtpenvelope/senderemailaddress"

' CdoTimeZoneId
Const cdoUTC = 0
Const cdoGMT = 1
Const cdoSarajevo = 2
Const cdoParis = 3
Const cdoBerlin = 4
Const cdoEasternEurope = 5
Const cdoPrague = 6
Const cdoAthens = 7
Const cdoBrasilia = 8
Const cdoAtlanticCanada = 9
Const cdoEastern = 10
Const cdoCentral = 11
Const cdoMountain = 12
Const cdoPacific = 13
Const cdoAlaska = 14
Const cdoHawaii = 15
Const cdoMidwayIsland = 16
Const cdoWellington = 17
Const cdoBrisbane = 18
Const cdoAdelaide = 19
Const cdoTokyo = 20
Const cdoSingapore = 21
Const cdoBangkok = 22
Const cdoBombay = 23
Const cdoAbuDhabi = 24
Const cdoTehran = 25
Const cdoBaghdad = 26
Const cdoIsrael = 27
Const cdoNewfoundland = 28
Const cdoAzores = 29
Const cdoMidAtlantic = 30
Const cdoMonrovia = 31
Const cdoBuenosAires = 32
Const cdoCaracas = 33
Const cdoIndiana = 34
Const cdoBogota = 35
Const cdoSaskatchewan = 36
Const cdoMexicoCity = 37
Const cdoArizona = 38
Const cdoEniwetok = 39
Const cdoFiji = 40
Const cdoMagadan = 41
Const cdoHobart = 42
Const cdoGuam = 43
Const cdoDarwin = 44
Const cdoBeijing = 45
Const cdoAlmaty = 46
Const cdoIslamabad = 47
Const cdoKabul = 48
Const cdoCairo = 49
Const cdoHarare = 50
Const cdoMoscow = 51
Const cdoFloating = 52
Const cdoCapeVerde = 53
Const cdoCaucasus = 54
Const cdoCentralAmerica = 55
Const cdoEastAfrica = 56
Const cdoMelbourne = 57
Const cdoEkaterinburg = 58
Const cdoHelsinki = 59
Const cdoGreenland = 60
Const cdoRangoon = 61
Const cdoNepal = 62
Const cdoIrkutsk = 63
Const cdoKrasnoyarsk = 64
Const cdoSantiago = 65
Const cdoSriLanka = 66
Const cdoTonga = 67
Const cdoVladivostok = 68
Const cdoWestCentralAfrica = 69
Const cdoYakutsk = 70
Const cdoDhaka = 71
Const cdoSeoul = 72
Const cdoPerth = 73
Const cdoArab = 74
Const cdoTaipei = 75
Const cdoSydney2000 = 76
Const cdoChihuahua = 77
Const cdoCanberraCommonwealthGames2006 = 78
Const cdoAdelaideCommonwealthGames2006 = 79
Const cdoHobartCommonwealthGames2006 = 80
Const cdoTijuana = 81
Const cdoInvalidTimeZone = 82

.htaccessで403を404で返す

久しぶりにリライトルールを書いたよ。 ドキュメントルートに.htaccessを置く場合の記述↓ # 403.html は実体がなくてよい。この設定をすることで、あっても使われなくなる。 ErrorDocument 403 /403.html # 独自の404ページをドキュメ...