Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   MAPI Doubts (http://www.outlookbanter.com/add-ins-outlook/86060-mapi-doubts.html)

Daman Pradhan February 11th 09 06:42 AM

MAPI Doubts
 
I am testing the waters in MAPI and the first thing is I hit a wall.

The code that I try to execute when opening a .pst file on a machine which
does not have Outlook installed is :
result = MsgService.CreateMsgService("MSPST MS", ProfileName, WinHandle,
IMsgServiceAdmin.FLAGS.ServiceUIAllowed); //MsgService is of type MAPI33.
IMsgServiceAdmin

I get a MAPI33.Error.SyncUnknownFlags error.(0x80040106). I'm lost !

I am using MAPI33.dll.

Can somebody please guide me through this ?

Thanks in advance.


[email protected] February 11th 09 12:42 PM

MAPI Doubts
 
On Feb 11, 1:42*am, "Daman Pradhan" u49522@uwe wrote:
I am testing the waters in MAPI and the first thing is I hit a wall.

The code that I try to execute when opening a .pst file on a machine which
does not have Outlook installed is :
result = MsgService.CreateMsgService("MSPST MS", ProfileName, WinHandle,
IMsgServiceAdmin.FLAGS.ServiceUIAllowed); //MsgService is of type MAPI33.
IMsgServiceAdmin

I get a MAPI33.Error.SyncUnknownFlags error.(0x80040106). I'm lost !

I am using MAPI33.dll.

Can somebody please guide me through this ?

Thanks in advance.


Opening a PST requires a library that is only provided with Outlook.
I.e., Outlook must be installed on the machine you're trying to access
the PST from.

DamanPradhan February 11th 09 12:51 PM

MAPI Doubts
 
Thanks for that clarification Cain !!!

wrote:
I am testing the waters in MAPI and the first thing is I hit a wall.

[quoted text clipped - 11 lines]

Thanks in advance.


Opening a PST requires a library that is only provided with Outlook.
I.e., Outlook must be installed on the machine you're trying to access
the PST from.




All times are GMT +1. The time now is 12:22 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com