Print Page | Close Window

MAPI on network

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=13026
Printed Date: 06 October 2024 at 9:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: MAPI on network
Posted By: skiman
Subject: MAPI on network
Date Posted: 29 December 2008 at 5:00am
Hi,
 
I'm looking to use the Calendar with Outlook on a network.
 
When I use 'provider=MAPI' the outlook on the current station is used. I tried with 'provider=MAPI; Data Source=m:\Documents and Settings\Chris\application Data\Microsoft\Outlook\outcmd.dat" which is the Outlook agenda I want. Is opens the local Outlook agenda.
 
How can I use the Outlook data from another station or server? I want to use it on small networks, so Exchange Server is not an option.
 
Regards,
Chris Andries


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



Replies:
Posted By: Oleg
Date Posted: 30 December 2008 at 1:46am
Hi,
seems MAPI doesn't support network connections :(


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Auge_Ohr
Date Posted: 29 July 2009 at 3:51pm
hi,

see https://forum.codejock.com/forum_posts.asp?TID=13421&KW=MAPI

Additional MAPI parameters are supported for data provider connection string:
 mapiProfileName= <as string>
 mapiPassword= <as string>
 mapiFlags=  <as hex number, like 0x001>
EXAMPLE:
 strConnEx = "Provider=MAPI; mapiProfileName=Outlook2; mapiPassword =Brawn256; mapiFlags=0x00000012"
if you do not specify any parameter - default values will be used:
 NULL for ProfileName and Password
 and MAPI_LOGON_UI for Flags
Below are values which can be used for mapiFlags.
See also documentation for MAPILogonEx function.
MAPI_LOGON_UI   0x00000001 /* Display logon UI     */
MAPI_NEW_SESSION  0x00000002 /* Don't use shared session   */
MAPI_ALLOW_OTHERS  0x00000008 /* Make this a shared session  */
MAPI_EXPLICIT_PROFILE 0x00000010 /* Don't use default profile  */
MAPI_EXTENDED   0x00000020 /* Extended MAPI Logon    */
MAPI_FORCE_DOWNLOAD  0x00001000 /* Get new mail before return  */
MAPI_SERVICE_UI_ALWAYS 0x00002000 /* Do logon UI in all providers  */
MAPI_NO_MAIL   0x00008000 /* Do not activate transports  */
MAPI_PASSWORD_UI  0x00020000 /* Display password UI only   */
MAPI_TIMEOUT_SHORT  0x00100000 /* Minimal wait for logon resources */
(this is a copy from old - 2008 - answer)


-------------
greetings by OHR
Jimmy


Posted By: skiman
Date Posted: 31 July 2009 at 11:50am
Hi Jimmy,
 
I tried it this way, and I didn't succeed.
 
My calendar is working for 4 months now on a network with 5 users. It's tested and I will use it in my application within a month.
 
I'm looking for a way to synchronize it with Outlook. This way my users can connect/transfer the calendar to their smartphone, PDA, ...
 
regards,
Chris.


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


Posted By: mdoubson
Date Posted: 31 July 2009 at 1:06pm
"old answer 2008" - piece of standard MAPI.H file from SDK e.g: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include
there are other MAPI-related files in SDK - so may be you can make some research...


-------------
Mark Doubson, Ph.D.



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