Solved

Creating and Updating a Contact in exchange 2007 using EWS

Posted on 2011-03-03
2
704 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

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Easy CSR creation in Exchange 2007,2010 and 2013
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

746 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now