the title of the document this was taken from is: "Automating Microsoft Outlook Using Visual Basic Scripting Edition or Visual Basic for Applications"

This is taken right from MSDN.. which is available on the wwweb the only warning that was printed on the page was : "This document is for informational purposes only" so it applies here as well.


These few pages were put together after an intense period of coding OLE Automation over parts of the summer of 99 using MS winNT4(sp4..i think) & MS Visual Studio 6.0 (visualc++). I found volumes of information on Automating Outlook with VBA and VB .. but either none at all or next to none on Automating Outlook in C++. This information is all pieced together from wwweb examples, MSDN VB examples, MSDN C++ examples for MSWord and MSExcel, my own experimentation, and help from my peers(I don't recall any .. but in case I recieved help.. I should acknowledge it.) [be aware.. a month ago I had never written a single line of MS-specific code. (only java and C/C++ w/ std libs.)]

I hope this helps you, but as it's provided for free, and to contribute to the simplicity of life, I cant claim responsibility for whatever silly or stupid things people may do with this stuff. I ask that it only be used to further aid people and never for destructive purposes. I also can't guarantee it won't cause damage in it's current state, I feel that it shouldn't and wouldn't but as I don't have your system or the code you integrate this into in front of me, I can't be sure.
If you would like to reach me with questions, problems, or for help please contact me via email yitz@datalife.com.
Otherwise I can be found on AOL InstantMessenger as "TenVessels".

to return to an unofficial Outlook Automation coding page click here.

OlActionCopyLike

Constant Value
olReply 0
olReplyAll 1
olForward 2
olReplyFolder 3
olRespond 4


to return to an unofficial Outlook Automation coding page click here.

OlActionReplyStyle

Constant Value
olOmitOriginalText 0
olEmbedOriginalItem 1
olIncludeOriginalText 2
olIndentOriginalText 3


to return to an unofficial Outlook Automation coding page click here.

OlActionResponseStyle

Constant Value
olOpen 0
olSend 1
olPrompt 2


to return to an unofficial Outlook Automation coding page click here.

OlActionShowOn

Constant Value
olDontShow 0
olMenu 1
olMenuAndToolbar 2


to return to an unofficial Outlook Automation coding page click here.

OlAttachmentType

Constant Value
olByValue 1
olByReference 4
olEmbeddedItem 5
olOLE 6


to return to an unofficial Outlook Automation coding page click here.

OlBusyStatus

Constant Value
olFree 0
olTentative 1
olBusy 2
olOutOfOffice 3


to return to an unofficial Outlook Automation coding page click here.

OlDaysOfWeek

Constant Value
olSunday 1
olMonday 2
olTuesday 4
olWednesday 8
olThursday 16
olFriday 32
olSaturday 64


to return to an unofficial Outlook Automation coding page click here.

OlDefaultFolders

Constant Value
olFolderDeletedItems 3
olFolderOutbox 4
olFolderSentMail 5
olFolderInbox 6
olFolderCalendar 9
olFolderContacts 10
olFolderJournal 11
olFolderNotes 12
olFolderTasks 13


to return to an unofficial Outlook Automation coding page click here.

OlFlagStatus

Constant Value
olNoFlag 0
olFlagComplete 1
olFlagMarked 2


to return to an unofficial Outlook Automation coding page click here.

OlFolderDisplayMode

Constant Value
olFolderDisplayNormal 0
olFolderDisplayFolderOnly 1
olFolderDisplayNoNavigation 2


to return to an unofficial Outlook Automation coding page click here.

OlFormRegistry

Constant Value
olDefaultRegistry 0
olPersonalRegistry 2
olFolderRegistry 3
olOrganizationRegistry 4


to return to an unofficial Outlook Automation coding page click here.

OlGender

Constant Value
olUnspecified 0
olFemale 1
olMale 2


to return to an unofficial Outlook Automation coding page click here.

OlImportance

Constant Value
olImportanceLow 0
olImportanceNormal 1
olImportanceHigh 2


to return to an unofficial Outlook Automation coding page click here.

OlInspectorClose

Constant Value
olSave 0
olDiscard 1
olPromptForSave 2


to return to an unofficial Outlook Automation coding page click here.

OlItems

Constant Value
olMailItem 0
olAppointmentItem 1
olContactItem 2
olTaskItem 3
olJournalItem 4
olNoteItem 5
olPostItem 6


to return to an unofficial Outlook Automation coding page click here.

OlJournalRecipientType

Constant Value
olAssociatedContact 1


to return to an unofficial Outlook Automation coding page click here.

OlMailingAddress

Constant Value
olNone 0
olHome 1
olBusiness 2
olOther 3


to return to an unofficial Outlook Automation coding page click here.

OlMailRecipientType

Constant Value
olOriginator 0
olTo 1
olCC 2
olBCC 3


to return to an unofficial Outlook Automation coding page click here.

OlMeetingRecipientType

Constant Value
olOrganizer 0
olRequired 1
olOptional 2
olResource 3


to return to an unofficial Outlook Automation coding page click here.

OlMeetingResponse

Constant Value
olMeetingTentative 2
olMeetingAccepted 3
olMeetingDeclined 4


to return to an unofficial Outlook Automation coding page click here.

OlMeetingStatus

Constant Value
olNonMeeting 0
olMeeting 1
olMeetingReceived 3
olMeetingCanceled 5


to return to an unofficial Outlook Automation coding page click here.

OlNoteColor

Constant Value
olBlue 0
olGreen 1
olPink 2
olYellow 3
olWhite 4


to return to an unofficial Outlook Automation coding page click here.

OlRecurrenceType

Constant Value
olRecursDaily 0
olRecursWeekly 1
olRecursMonthly 2
olRecursMonthNth 3
olRecursYearly 5
olRecursYearNth 6


to return to an unofficial Outlook Automation coding page click here.

OlRemoteStatus

Constant Value
olRemoteStatusNone 0
olUnMarked 1
olMarkedForDownload 2
olMarkedForCopy 3
olMarkedForDelete 4


to return to an unofficial Outlook Automation coding page click here.

OlResponseStatus

Constant Value
olResponseNone 0
olResponseOrganized 1
olResponseTentative 2
olResponseAccepted 3
olResponseDeclined 4
olResponseNotResponded 5


to return to an unofficial Outlook Automation coding page click here.

OlSaveAsType

Constant Value
olTXT 0
olRTF 1
olTemplate 2
olMSG 3
olDoc 4


to return to an unofficial Outlook Automation coding page click here.

OlSensitivity

Constant Value
olNormal 0
olPersonal 1
olPrivate 2
olConfidential 3


to return to an unofficial Outlook Automation coding page click here.

OlTaskDelegationState

Constant Value
olTaskNotDelegated 0
olTaskDelegationUnknown 1
olTaskDelegationAccepted 2
olTaskDelegationDeclined 3


to return to an unofficial Outlook Automation coding page click here.

OlTaskOwnership

Constant Value
olNewTask 0
olDelegatedTask 1
olOwnTask 2


to return to an unofficial Outlook Automation coding page click here.

OlTaskRecipientType

Constant Value
olUpdate 1
olFinalStatus 2


to return to an unofficial Outlook Automation coding page click here.

OlTaskResponse

Constant Value
olTaskSimple 0
olTaskAssign 1
olTaskAccept 2
olTaskDecline 3


to return to an unofficial Outlook Automation coding page click here.

OlTaskStatus

Constant Value
olTaskNotStarted 0
olTaskInProgress 1
olTaskComplete 2
olTaskWaiting 3
olTaskDeferred 4


to return to an unofficial Outlook Automation coding page click here.

OlTrackingStatus

Constant Value
olTrackingNone 0
olTrackingDelivered 1
olTrackingNotDelivered 2
olTrackingNotRead 3
olTrackingRecallFailure 4
olTrackingRecallSuccess 5
olTrackingRead 6
olTrackingReplied 7


to return to an unofficial Outlook Automation coding page click here.

OlUserPropertyType

Constant Value
olText 1
olNumber 3
olDateTime 5
olYesNo 6
olDuration 7
olKeywords 11
olPercent 12
olCurrency 14
olFormula 18
olCombination 19