Solved

Creating and Updating a Contact in exchange 2007 using EWS

Posted on 2011-03-03
2
711 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
[X]
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
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Read this checklist to learn more about the 15 things you should never include in an email signature.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this video we show how to create a Contact 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 Recipients >> Contact ta…
To show how to generate a certificate request 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 Servers >> Certificates…

707 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