[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 659
  • Last Modified:

Changeing Redemption for outlook to Exchange Server

I wrote some VBA code to add an MS Outlook contact to the current user's PST file using redemption.
They have now upgraded to MS Exchange. (On a cloud server)
What would I have to do differently to add contacts to the user's exchange account?

Attached is a code snipet of what I do now.

Function BeginContactLoadingProcess() As Boolean
Dim myOutlookApp As Outlook.Application
Dim SafeContact As Object
Dim Contact As Object
Set myOutlookApp = CreateObject("Outlook.Application")

Set Contact = myOutlookApp.CreateItem(olContactItem)

Set SafeContact = CreateObject("Redemption.SafeContactItem")

SafeContact.Item = Contact
         
SafeContact.CompanyName “Joe Pizza”
SafeContact.FileAs =”Joe’s Pizza Parlor”
SafeContact.FirstName = "Joe"
SafeContact.LastName = "Felini”

SafeContact.Save

SafeContact.Close 1
Set SafeContact = Nothing

End function

Open in new window

0
askolits
Asked:
askolits
  • 3
  • 2
1 Solution
 
Jim Dettman (Microsoft MVP/ EE MVE)PresidentCommented:

  I don't know for sure, but I wouldn't think you would need to change anything.  Your still working through Outlook.

  It's handling the accounts and where things are stored.

JimD.
0
 
Jim Dettman (Microsoft MVP/ EE MVE)PresidentCommented:

 Scratch that.  I understand the question now.  Your creating something in Redemption, not an Outlook contact.

JimD.
0
 
askolitsAuthor Commented:
I'm running this in a VB app and essentially pushing info into the Exchange contacts for a particular user's contact list
I expect it's handled differently. Probably have to provide the Exchange IP address, user name , password etc..?

Must be some cdo object I have to use in which I have to pass some arguments.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
Shawn CøadySVP Information SystemsCommented:
You should be OK... you are interacting with the local instance of Outlook... and Outlook will handle the update to the user's contact list back to the Exchange server.  I do something similar with my app where I use VBA to create appointment's for the user's Outlook calendar.  Our users run Outlook connected to a local Exchange server.  FYI... we are on Exchange 2003 and Office 2003...
0
 
askolitsAuthor Commented:
Been away from this for a while. I need to visit my customer again to see exactly what it's doing. I'll get back to you.
0
 
askolitsAuthor Commented:
You were right. User error. (Easy points for you eh?)
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

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