• Subject: Outlook.ContactItem object properties available
  • Author: Brad Covell
  • Date: 05 Mar
  • References:
This is a development question, please let me know if this is the wrong
newsgroup for this.

I'm trying to set the Account Number, Active, and Type of Business
properties http://msdn2.microsoft.com/en-us/library/bb267853.aspx on an
Outlook.ContactItem. However, it doesn't appear these are valid properties
on the Outlook.ContactItem property. Can you advise how to set these as
documented?

I have also tried newAccount.ItemProperties["Account Number"].Value = "78";
and variations of this like AccountNumber, accountnumber, active, Active...

Outlook.ContactItem newAccount =
(Outlook.ContactItem)accounts.Items.Add("IPM.Contact.BCM.Account");

newAccount.FullName = "ABC Company"; //works

newAccount.FileAs = "ACB Company"; //works

newAccount.AccountNumber = "78"; //doesn't work,
even though it's documented that this should work, same thing for Active and
Type of Business

newAccount.OfficeLocation = "Michigan"; //works

newAccount.Save();



Thanks
Brad
05 MarOutlook.ContactItem object properties available.Brad Covell
05 Mar\ Re: Outlook.ContactItem object properties available.Ken Slovak - [MVP - O...
05 Mar   \ Re: Outlook.ContactItem object properties available.Brad Covell
All times are in (US) Eastern Daylight Time (GMT -4:00)