?
Solved

Creating and Updating a Contact in exchange 2007 using EWS

Posted on 2011-03-03
2
Medium Priority
?
714 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 2000 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 be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
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…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
Suggested Courses

777 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