Solved

Moving from Outlook to Exchange

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

685 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