Print Page | Close Window

MAPI - Outlook

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=12986
Printed Date: 07 October 2024 at 3:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: MAPI - Outlook
Posted By: skiman
Subject: MAPI - Outlook
Date Posted: 20 December 2008 at 10:24am
Hi,
 
I'm using the Codejock components in combination with Xbase++. I have a problem wit the calendar controle to use the Outlook agenda.
 
If I select MAPI in the VB sample, everything is working, and the data is added to my Outlook agenda.
 
If I try this with Xbase++, I don't succeed.
 
Test 1 :
If I do : cConnectionString := "Provider=MAPI;
Result : a file with the name 'provider=mapi;' is created.
 
Test 2 :
If I do : cConnectionString := "Provider=MAPI;Data Source=agenda.dat"
Result : a file 'agenda.dat' is created.
 
If I look in the VB sample code, I find where the connection is made, but I can't find where the 'data source' is initialised.
In frmCalendarDataChooser I find :
    If eDPType = cjCalendarData_MAPI Then
        strConnEx = "Provider=MAPI;"
    End If
I don't understand where this is connected to my Outlook agenda?
 
I found the outcmd.dat file but is seems as I can't use it as Data Source? An empty agenda appears.
 
Any suggestions?
 
Regards,
Chris Andries
 
 


-------------
ABO Service



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net