• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

Access to MS Exchange from Delphi

Need to access MS Exchange 5.5 Directory and Information Store from Delphi 6.

Is it doable and how (any components provided by Delphi such as the ADO?)

Thanx.
0
EHelp
Asked:
EHelp
2 Solutions
 
alshaikhCommented:
You can use an MS-Access MDB file in the middle between your Delphi application and MS-Exchange.

Basically, you first create a blank Access MDB database (say AddressBook.MDB). Then using MS-Access, open the AddressBook.MDB and using the Link-tables feature of MS-Access, create an exchange-linked table (say TblABook).

Note: To link a table in Access, right-click on the Tables tab and chose link-table from the menu. You will get a dialog box, in the file type, chose Exchange().

Once the access database is created, you can access the exchange information from Delphi by connecting to the AddressBook.MDB as:

Select * from TblABook


Regards,
0
 
SChertkovCommented:
Generally you must use Microsoft CDO (Collaboration Data Objects). If you have Outlook 2000 installed
simple import Microsoft CDO library
in Delphi IDE, and see MSDN.
Also check codecentral.borland.com
TOutlookDataSet
 
http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=14812
0
 
Russell LibbySoftware Engineer, Advisory Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

To be split between SChertkov and alshaikh

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Thank you,
Russell

EE Cleanup Volunteer
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

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