![]() |
MAPI - Outlook |
Post Reply ![]() |
Author | |
skiman ![]() Groupie ![]() Joined: 20 December 2008 Location: Belgium Status: Offline Points: 88 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |