Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Creating and Updating a Contact in exchange 2007 using EWS

Posted on 2011-03-03
2
707 Views
Last Modified: 2012-05-11
Hi

I’ve an ASP.Net App using VB.  In the app are lots of contacts which I want to give the user the option to add to a shared mail box’s contacts.

This mail box is already used to send out e-mails from the app and this is done via EWS.

I’ve been searching around for an example of how to create a contact using the same method (EWS) but have got no where.

Is this possible?  Can any one give me an example of creating and then updating?

Thanks

Brasso
0
Comment
Question by:brasso_42
  • 2
2 Comments
 
LVL 32

Expert Comment

by:Robberbaron (robr)
ID: 35035263
0
 
LVL 32

Accepted Solution

by:
Robberbaron (robr) earned 500 total points
ID: 35035312
for update,  load the contact, edit a property and then call the Update method.

            myContact.AssistantName = "Joe Bloe";
            myContact.Update(ConflictResolutionMode.AlwaysOverwrite) ;


note that I find many more examples for C# rather than VB.Net , and haven't seen many VBS ones at all.  ( I am a beginner at Dot Net having stuck with VB6 for years)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question