• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 720
  • Last Modified:

Creating and Updating a Contact in exchange 2007 using EWS

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
brasso_42
Asked:
brasso_42
  • 2
1 Solution
 
Robberbaron (robr)Commented:
0
 
Robberbaron (robr)Commented:
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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now