Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - Display multi calendar with MAPI data provider
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Display multi calendar with MAPI data provider

 Post Reply Post Reply
Author
Message
gema View Drop Down
Newbie
Newbie
Avatar

Joined: 25 July 2019
Location: Austria
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote gema Quote  Post ReplyReply Direct Link To This Post Topic: Display multi calendar with MAPI data provider
    Posted: 25 July 2019 at 10:07am
I am using Codjock 18.6.0 VS 2008

Calendar control works fine with one calendar (default connection) in MAPI provider.


1. Can I load outlook calendar with MAPI data provider from other user then default user?
In calendar demo example is only one option for MAPI provider: "User default connection".

When I change demo code I allways get calendar from default user
or error:


I canged connect string from
strConnectionString.Format(_T("Provider=MAPI"));
to
strConnectionString.Formatr(_T("provider=mapi;mapiProfileName=testuser;mapiFlags=0x12"));



2. When I need multiple user data, do I need to create more than one data provider object?



Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.078 seconds.