<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : MAPI and calendars</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : MAPI and calendars]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 29 May 2026 20:00:13 +0000</pubDate>
  <lastBuildDate>Fri, 27 Feb 2009 16:37:46 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=13421</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[MAPI and calendars : I made successfull test with MAPI...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45988&amp;title=mapi-and-calendars#45988</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13421<br /><strong>Posted:</strong> 27 February 2009 at 4:37pm<br /><br />I made successfull test with MAPI today. You need to make Outlook to be your default program for e-mail, contact and Calendar (check Outlook options!) and RUN Outlook while you running our MFC or VB Calendar. <DIV>Open in Outlook remote file <a href="file://\\MyServer\MyFolder\MyOutlook.pst" target="_blank">\\MyServer\MyFolder\MyOutlook.pst</A>&nbsp;- Outlook will read it and create extra PersonalFolders tree item.</DIV><DIV>You can rename it as you wich - e.g. YourPersonalFolders</DIV><DIV>&nbsp;</DIV><DIV>use in VB Load frmMain Private Sub Form_Load() function line:</DIV><DIV>OpenProvider cjCalendarData_MAPI, "Provider=MAPI;Data Source=\\<U><FONT color=#0000ff>MyServer\MyFolder\MyOutlook.pst</FONT></U>"</DIV><DIV>&nbsp;</DIV><DIV>Now you can see your event and modify it from MFC or VB app<BR></DIV><DIV>Btw - I am running VPN, I am in Montreal, <a href="file://\\MyServer\MyFolder\MyOutlook.pst" target="_blank">\\<U><FONT color=#0000ff>MyServer\MyFolder\MyOutlook.pst</A>&nbsp;- in USA</FONT></U></DIV><DIV><U><FONT color=#0000ff>--------------------------------------------------------------------------------------------------------------------------------------------------------------------</FONT></U></DIV><DIV>Additional MAPI parameters are supported for data provider connection string:</DIV><DIV>&nbsp;mapiProfileName= &lt;as string&gt;<BR>&nbsp;mapiPassword= &lt;as string&gt;<BR>&nbsp;mapiFlags=&nbsp; &lt;as hex number, like 0x001&gt;</DIV><DIV>EXAMPLE:<BR>&nbsp;strConnEx = "Provider=MAPI; mapiProfileName=Outlook2; mapiPassword =Brawn256; mapiFlags=0x00000012"</DIV><DIV>if you do not specify any parameter - default values will be used:<BR>&nbsp;NULL for ProfileName and Password<BR>&nbsp;and MAPI_LOGON_UI for Flags</DIV><DIV>Below are values which can be used for mapiFlags.<BR>See also documentation for MAPILogonEx function.</DIV><DIV>MAPI_LOGON_UI&nbsp;&nbsp; 0x00000001 /* Display logon UI&nbsp;&nbsp;&nbsp;&nbsp; */<BR>MAPI_NEW_SESSION&nbsp; 0x00000002 /* Don't use shared session&nbsp;&nbsp; */<BR>MAPI_ALLOW_OTHERS&nbsp; 0x00000008 /* Make this a shared session&nbsp; */<BR>MAPI_EXPLICIT_PROFILE 0x00000010 /* Don't use default profile&nbsp; */<BR>MAPI_EXTENDED&nbsp;&nbsp; 0x00000020 /* Extended MAPI Logon&nbsp;&nbsp;&nbsp; */<BR>MAPI_FORCE_DOWNLOAD&nbsp; 0x00001000 /* Get new mail before return&nbsp; */<BR>MAPI_SERVICE_UI_ALWAYS 0x00002000 /* Do logon UI in all providers&nbsp; */<BR>MAPI_NO_MAIL&nbsp;&nbsp; 0x00008000 /* Do not activate transports&nbsp; */<BR>MAPI_PASSWORD_UI&nbsp; 0x00020000 /* Display password UI only&nbsp;&nbsp; */<BR>MAPI_TIMEOUT_SHORT&nbsp; 0x00100000 /* Minimal wait for logon resources */</DIV><DIV>(this is a copy from old - 2008 - answer)<BR></DIV>]]>
   </description>
   <pubDate>Fri, 27 Feb 2009 16:37:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45988&amp;title=mapi-and-calendars#45988</guid>
  </item> 
  <item>
   <title><![CDATA[MAPI and calendars : Is there anybody ? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45964&amp;title=mapi-and-calendars#45964</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2558">Fabrice</a><br /><strong>Subject:</strong> 13421<br /><strong>Posted:</strong> 27 February 2009 at 6:04am<br /><br />Is there anybody ?]]>
   </description>
   <pubDate>Fri, 27 Feb 2009 06:04:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45964&amp;title=mapi-and-calendars#45964</guid>
  </item> 
  <item>
   <title><![CDATA[MAPI and calendars : My own calendar is on a local...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45806&amp;title=mapi-and-calendars#45806</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2558">Fabrice</a><br /><strong>Subject:</strong> 13421<br /><strong>Posted:</strong> 24 February 2009 at 4:13am<br /><br /><FONT size=2><FONT face="Arial, Helvetica, sans-serif">My own calendar is on a local drive. I don't have to write the path of my ressource in the connection string, simply : </FONT><FONT face="Arial, Helvetica, sans-serif">CalendarControl.SetDataProvider("Provider=MAPI");</FONT></FONT><DIV></DIV><DIV><FONT face="Arial, Helvetica, sans-serif" size=2></FONT></DIV><DIV><FONT face="Arial, Helvetica, sans-serif" size=2></FONT></DIV><DIV><FONT face="Arial, Helvetica, sans-serif" size=2></FONT></DIV><FONT face="Arial, Helvetica, sans-serif" size=2><DIV>&nbsp;</DIV><DIV>Others calendars&nbsp;are somewhere on the network, I don't know where, and I think that's it's possible to connect to them like Outlook do.</DIV><DIV>&nbsp;</DIV><DIV>Every connection string I've tested which starts with ("Provider=MAPI...") connect every time my own calendar. I've done a test with your sample "Provider=MAPI;Data Source=" &amp; Path &amp; "\Application Data\Microsoft\Outlook\outcmd.dat", where "Path" is a network path, but it doesn't work too.</DIV><DIV>&nbsp;</DIV><DIV>Is anybody success to connect a calendar of another person with the ActiveX ?</DIV></FONT>]]>
   </description>
   <pubDate>Tue, 24 Feb 2009 04:13:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45806&amp;title=mapi-and-calendars#45806</guid>
  </item> 
  <item>
   <title><![CDATA[MAPI and calendars : Please explain: No error in this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45776&amp;title=mapi-and-calendars#45776</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13421<br /><strong>Posted:</strong> 23 February 2009 at 12:48pm<br /><br />Please explain: No error in this case, but it always open my own outlook calendar <DIV></DIV>Do you access network drive or local drive?]]>
   </description>
   <pubDate>Mon, 23 Feb 2009 12:48:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45776&amp;title=mapi-and-calendars#45776</guid>
  </item> 
  <item>
   <title><![CDATA[MAPI and calendars : No error in this case, but it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45770&amp;title=mapi-and-calendars#45770</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2558">Fabrice</a><br /><strong>Subject:</strong> 13421<br /><strong>Posted:</strong> 23 February 2009 at 12:07pm<br /><br />No error in this case, but it always open my own outlook calendar ...]]>
   </description>
   <pubDate>Mon, 23 Feb 2009 12:07:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45770&amp;title=mapi-and-calendars#45770</guid>
  </item> 
  <item>
   <title><![CDATA[MAPI and calendars : Could you give us error code you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45768&amp;title=mapi-and-calendars#45768</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13421<br /><strong>Posted:</strong> 23 February 2009 at 12:02pm<br /><br /><P>Could you give us error code you get in this case please.</P><DIV>Could you browse to same url (<a href="file://\\server\sharefolder\..." target="_blank">\\server\sharefolder\...</A> )</DIV><DIV>May be this is network setup/access problem?</DIV><DIV>&nbsp;</DIV><DIV>P.S. Looks like this is a question to your network admin</DIV>]]>
   </description>
   <pubDate>Mon, 23 Feb 2009 12:02:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45768&amp;title=mapi-and-calendars#45768</guid>
  </item> 
  <item>
   <title><![CDATA[MAPI and calendars : I&amp;#039;m afraid that it can&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45767&amp;title=mapi-and-calendars#45767</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2558">Fabrice</a><br /><strong>Subject:</strong> 13421<br /><strong>Posted:</strong> 23 February 2009 at 11:35am<br /><br />I'm afraid that it can't work. The connection string doesn't work with a path like <a href="file://\\server\sharefolder\..." target="_blank">\\server\sharefolder\...</A><DIV>&nbsp;</DIV><DIV>Another idea ?</DIV>]]>
   </description>
   <pubDate>Mon, 23 Feb 2009 11:35:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45767&amp;title=mapi-and-calendars#45767</guid>
  </item> 
  <item>
   <title><![CDATA[MAPI and calendars :  &amp;#034;Provider=MAPI;Data Source=&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45766&amp;title=mapi-and-calendars#45766</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13421<br /><strong>Posted:</strong> 23 February 2009 at 10:51am<br /><br /><DIR><FONT size=2><P>"Provider=MAPI;Data Source=" &amp; Path &amp; "\Application Data\Microsoft\Outlook\outcmd.dat"</P><P>Just specify path to other user's outlook data e.g. "C:\Documents and Settings\YourUser\Local Settings"</P><DIV></DIV></DIR></FONT>]]>
   </description>
   <pubDate>Mon, 23 Feb 2009 10:51:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45766&amp;title=mapi-and-calendars#45766</guid>
  </item> 
  <item>
   <title><![CDATA[MAPI and calendars : Yes, all users share their calendars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45757&amp;title=mapi-and-calendars#45757</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2558">Fabrice</a><br /><strong>Subject:</strong> 13421<br /><strong>Posted:</strong> 23 February 2009 at 4:42am<br /><br />Yes, all users share their calendars with others.<DIV>&nbsp;</DIV><DIV>So, what's the connection string to connect another calendar ?</DIV>]]>
   </description>
   <pubDate>Mon, 23 Feb 2009 04:42:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45757&amp;title=mapi-and-calendars#45757</guid>
  </item> 
  <item>
   <title><![CDATA[MAPI and calendars : You right - if your users share...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45695&amp;title=mapi-and-calendars#45695</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13421<br /><strong>Posted:</strong> 20 February 2009 at 7:05pm<br /><br />You right - if your users share their calendars with others]]>
   </description>
   <pubDate>Fri, 20 Feb 2009 19:05:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13421&amp;PID=45695&amp;title=mapi-and-calendars#45695</guid>
  </item> 
 </channel>
</rss>