Solved

Moving from Outlook to Exchange

Posted on 2010-09-16
4
449 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
  • 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

758 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

19 Experts available now in Live!

Get 1:1 Help Now