Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - MAPI - Outlook
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MAPI - Outlook

 Post Reply Post Reply
Author
Message
skiman View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Location: Belgium
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote skiman Quote  Post ReplyReply Direct Link To This Post Topic: MAPI - Outlook
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.189 seconds.