Solved

Moving from Outlook to Exchange

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This video discusses moving either the default database or any database to a new volume.
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…

828 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