![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi there. I've changed my code that talks to Outlook to use the
Redemption RDO objects instead. When I create a new contact I need to define some user defined fields for each contact. Using the Outlook objects I could do this: Dim oUP As Outlook.UserProperty Dim oContact As Outlook.ContactItem With oContact ' set values for standard properties ' Now add my user defined fields oUP = .UserProperties.Add("Area", Outlook.OlUserPropertyType.olText) oUP.Value = dtRow.Item(objContact.GetOrdinalCustom("Area")).To String oUP = .UserProperties.Add("Company - Yes/No", Outlook.OlUserPropertyType.olText) oUP.Value = dtRow.Item(objContact.GetOrdinalCustom("CompanyY/N")) .Save End With Changing my code to use the Redemption.RDOContactItem object, I no longer get access to the UserProperties collection. I've googled much and so far haven't found a way to do this. Can anyone help me out with this? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I add the same User-Defined Field for ALL Contacts? | Mike | Outlook - Using Contacts | 1 | September 5th 07 11:14 PM |
Exporting a User-Defined Field | JoeC | Outlook - Using Forms | 2 | September 4th 07 01:38 PM |
Using C# to create a user-defined field? | Mikael | Add-ins for Outlook | 3 | March 23rd 07 07:17 PM |
Filtering On User Defined Field | Alan | Outlook - General Queries | 1 | January 18th 07 09:17 PM |
User Defined Field Initial Value | Matt | Outlook and VBA | 1 | May 6th 06 06:54 AM |