Hi Delphi Programmer!

there are few infos to OutlookConnect Component.


All properties are the same like in MS-Outlook VBA.
Please see Outlook VBA-Help for details.


TOutlookConnect component version 1.1 for Delphi 3, 4
-------------------------------------------------------
Written by Lothar Perr
Landstrasse 84
4020 Linz

e-mail: lothar.perr@gmx.net

Be sure to drop me an e-mail. Give me your opinion 
about this component. Do you like it or not?
-------------------------------------------------------

OutlookConnect functions and procedures

    function Contact(Index:Variant):Variant;  
    function ContactCount:Word;
    procedure ShowContact(Index:Word);
    function GetSelection(Index:Word):Variant;
    function GetSelectionCount:Word;
    function CreateContact:Variant;
    procedure DeleteContact(MyContact:Variant);
    function FindContact(FindWhat:String):Variant;
    function OutlookApplication: Variant;
    function OutlookNameSpace: Variant;
    function OutlookActiveExplorer: Variant;
    function CommandBars:Variant;
    function Contacts:Variant;
    function Calendar:Variant;
    function DeletedItems:Variant;
    function Drafts:Variant;
    function Inbox:Variant;
    function Journal:Variant;
    function Notes:Variant;
    function Outbox:Variant;
    function SentMail:Variant;
    function Tasks:Variant;

OutlookConnect projects

    property Connected 
    property OLEObject 
    property OLENameSpace 
    property OnConnect
    property OnDisConnect


OlItemType
  olAppointmentItem = 1;
  olContactItem = 2;
  olDistributionListItem = 7;
  olJournalItem = 4;
  olMailItem = 0;
  olNoteItem = 5;
  olPostItem = 6;
  olTaskItem = 3;
OlDefaultFolders
  olFolderCalendar = 9;
  olFolderContacts = 10;
  olFolderDeletedItems = 3;
  olFolderDrafts = 16;
  olFolderInbox = 6;
  olFolderJournal = 11;
  olFolderNotes = 12;
  olFolderOutbox = 4;
  olFolderSentMail = 5;
  olFolderTasks = 13;



Aviable Contact properties

  Account
  Actions
  Anniversary
  Application
  AssistantName
  AssistantTelephoneNumber
  Attachments
  BillingInformation
  Birthday
  Body
  Business2TelephoneNumber
  BusinessAddress
  BusinessAddressCity
  BusinessAddressPostalCode
  BusinessAddressPostOfficeBox
  BusinessAdressState
  BusinessAdressStreet
  BusinessFaxNumber
  BusinessHomePage
  BusinessTelephoneNumber
  CallbackTelephoneNumber
  CarTelephoneNumber
  Categories
  Children
  Class
  Companies
  CompanyAndFullName
  CompanyLastFirstNoSpace
  CompanyLastFirstSpaceOnly
  CompanyMainTelephoneNumber
  CompanyName
  ComputerNetworkName
  ConversationIndex
  ConversationTopic
  CrationTime
  CustomerID
  Department
  Email1Adress
  Email1AdressType
  Email1DisplayName
  Email1EntryID
  Email2Address
  Email2AdressType
  Email2DisplayName
  Email2EntryID
  Email3Address
  Email3AdressType
  Email3DisplayName
  Email3EntryID
  EntryID
  FileAs
  FirstName
  FormDescription
  FTPSite
  FullName
  FullNameAndCompany
  Gender
  GetInspector
  GovernmentIDNumber
  Hobby
  Home2TelephoneNumber
  HomeAddress
  HomeAddressCity
  HomeAddressCountry
  HomeAddressPostalCode
  HomeAddressPostOfficeBox
  HomeAddressStat
  HomeAddressStreetm
  HomeFaxNumber
  HomeTelephoneNumber
  Importance
  Initials
  InterNetFreeBusyAddress
  ISDNNumber
  JobTitle
  Journal
  Language
  LastFirstAndSuffix
  LastFirstNoSpace
  LastFirstNoSpaceCompany
  LastFirstSpaceOnly
  LastFirstSpaceOnlyCompany
  LastModification
  LastName
  LastNameAndFirstName
  Links
  MailingAddress
  MailingAddressCity
  MailingAddressCountry
  MailingAddressPostalCode
  MailingAddressPostOfficeBox
  MailingAddressStat
  MailingAddressStreet
  ManagerName
  MessageClass
  MiddleName
  Mileage
  MobileTelephoneNumber
  NetMeetingServer
  NickName
  NoAging
  OfficeLocation
  OrganizationallDNumber
  OtherAddress
  OtherAddressCity
  OtherAddressCountry
  OtherAddressPostalCode
  OtherAddressPostOfficeBox
  OtherAddressState
  OtherAddressStreet
  OtherFaxNumber
  OutlookInternalVersion
  OutLookVersion
  PagerNumber
  Parent
  PersonalHomePage
  PrimaryTelephoneNumber
  Profession
  RadioTelephoneNumber
  ReferredBy
  Saved
  SelectedMailingAddress
  Sensitivity
  Session
  Size
  Spouse
  Subject
  Suffix
  TelexNumber
  Title
  TTYTDDTelephoneNumber
  UnRead
  User1
  User2
  User3
  User4
  UserCertificate
  UserProperties
  WebPage
  YomiCompanyName
  YomiFirstName
  YomiLastName


For the contact collection, Find cannot be used, and will cause an error, with the following properties:
Body 
Categories
Children
Class
Companies
CompanyLastFirstNoSpace
CompanyLastFirstSpaceOnly
ContactNames
Contacts
ConversationIndex
DLName
Email1EntryID
Email2EntryID
Email3EntryID
EntryID
HTMLBody
IsOnlineMeeting
LastFirstAndSuffix
LastFirstNoSpace
LastFirstNoSpaceCompany 
LastFirstSpaceOnly
LastFirstSpaceOnlyCompany
MemberCount
NetMeetingAlias
NetMeetingAutoStart
NetMeetingOrganizerAlias
NetMeetingServer
NetMeetingType
RecurrenceState
ReplyRecipients
ReceivedByEntryID
RecevedOnBehalfOfEntryID
ResponseState
Saved
Sent 
Submitted 
VotingOptions 