Solved

Moving from Outlook to Exchange

Posted on 2010-09-16
4
458 Views
Last Modified: 2012-05-10
I have a function (within VBA) that links to a folder in an Outlook inbox and reads the email subjects.  However, we are now migrating to MS Exchange running on our local server and I cannot connect.

My current, local string is below, but I could really do with some help converting it for Exchange.
Dim ADOConn As ADODB.Connection
Set ADOConn = New ADODB.Connection

With ADOConn
.Provider  = "Microsoft.Jet.OLEDB.4.0"
.ConnectionString ="Exchange 4.0; MAPILEVEL=Personal Folders|Inbox\CompanyName\;PROFILE=OUTLOOK;DATABASE=C:\Users\UserName\AppData\Local\Temp\;"
End With

Open in new window

0
Comment
Question by:Andy Brown
[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
4 Comments
 
LVL 38

Accepted Solution

by:
puppydogbuddy earned 500 total points
ID: 33692399
Hi Andrew,
Hope this helps.
see the final post at this link for code snippet for connecting to exchange server:
http://www.vbforums.com/archive/index.php/t-431916.html
 
The article at this link, although dated, has still relevant background info that you should read.
http://www.msexchange.org/tutorials/Connecting_POP_And_IMAP_Clients_To_MS_Exchange_Server.html

This link shows steps with screenshots to maually connect to Exchange 2003 for calendar sharing, etc.
http://office.microsoft.com/en-us/outlook-help/share-and-open-other-people-s-folders-HA001113481.aspx

In case you are interested, this link reviews all the new features built into Exchange 2007:
http://www.microsoft.com/exchange/2010/en/us/exchange-2007-features.aspx
0
 

Author Comment

by:Andy Brown
ID: 33693343
Thanks - as always (hope you are keeping well).  I'll give it a try tomorrow at some point.
0
 

Author Closing Comment

by:Andy Brown
ID: 33714366
Great stuff - I got there in the end.
0
 
LVL 38

Expert Comment

by:puppydogbuddy
ID: 33715234
Glad I could help.  Thanks for the points and grade.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

623 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