I'm writing a vb.net app

  • Thread starter Thread starter Gordon MacLeod
  • Start date Start date
G

Gordon MacLeod

Sue:
Every link I look up on the web seems to link me back to your
outlookcode.com page. I guess that says something!

I have been asked to write a .net front end to manage outlook contacts, with
the inclusion of user defined fields. I have added new fields to Outlook
and thanks to you, now know how to use userproperties to access them.

Can you point me in the right direction to code that shows me how to
retrieve a contact, make changes and write it back.

Thanks.
 
Can you point me in the right direction to code that shows me how to
retrieve a contact,

The details depends on *which* contact you want to retrieve.
make changes

For built-in properties:

myContact.propname = <value>

For custom properties:

myContact.UserProperties.Find("propname").Value = said:
and write it back.

myContact.Save

FYI, there is a newsgroup specifically for general Outlook programming issues "down the hall" at microsoft.public.outlook.program_vba or, via web interface, at http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.outlook.program_vba
 
Back
Top