A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Events and Message Store add



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 17th 08, 07:29 PM posted to microsoft.public.outlook.program_addins
Tom[_4_]
external usenet poster
 
Posts: 40
Default Events and Message Store add

Hi,

I know how to use _FolderEvents to determine if a new folder is added to the
default message store - be that Outlook with exchange server or without. But
is there a way (event) to determine when a new message store is added like
an IMAP or other messaging service. We are primarily interested in the
Outlook 2003 object model at this time. I know if I get the parent of the
parent for the inbox (MAPIFolder) I get an interface that does not QI to
the MAPIFolder interface. Any help or suggestions would be greatly
appreciated.

Thanks,
Tom -



  #2  
Old July 18th 08, 01:16 AM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Events and Message Store add

Outlook 2007 exposes Namespace.Stores collection, which exposes the StoreAdd
event.
In the previous versions of Outlook, Extended MAPI (use notifications on
IMAPITable returned by IMAPISession::GetMsgStoresTable)) or plugRedemption
(RDOSession.Stores collection) /plug are your only options.
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Tom" wrote in message
...
Hi,

I know how to use _FolderEvents to determine if a new folder is added to
the default message store - be that Outlook with exchange server or
without. But is there a way (event) to determine when a new message store
is added like an IMAP or other messaging service. We are primarily
interested in the Outlook 2003 object model at this time. I know if I get
the parent of the parent for the inbox (MAPIFolder) I get an interface
that does not QI to the MAPIFolder interface. Any help or suggestions
would be greatly appreciated.

Thanks,
Tom -





  #3  
Old July 23rd 08, 12:25 AM posted to microsoft.public.outlook.program_addins
Tom[_4_]
external usenet poster
 
Posts: 40
Default Events and Message Store add

Thanks Dmitry - I used the Advise on the message stores table and it worked
great.



"Dmitry Streblechenko" wrote in message
...
Outlook 2007 exposes Namespace.Stores collection, which exposes the
StoreAdd event.
In the previous versions of Outlook, Extended MAPI (use notifications on
IMAPITable returned by IMAPISession::GetMsgStoresTable)) or
plugRedemption (RDOSession.Stores collection) /plug are your only
options.
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Tom" wrote in message
...
Hi,

I know how to use _FolderEvents to determine if a new folder is added to
the default message store - be that Outlook with exchange server or
without. But is there a way (event) to determine when a new message store
is added like an IMAP or other messaging service. We are primarily
interested in the Outlook 2003 object model at this time. I know if I get
the parent of the parent for the inbox (MAPIFolder) I get an interface
that does not QI to the MAPIFolder interface. Any help or suggestions
would be greatly appreciated.

Thanks,
Tom -







 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
dbx files in message store do not show in OE Ken G. Outlook Express 3 November 30th 07 10:36 PM
moving message store folder Jeff Outlook Express 5 November 1st 07 12:01 AM
Message Rules Store mcp6453 Outlook Express 2 January 21st 07 12:44 PM
Looking for my Message Store bayskater Outlook Express 51 November 29th 06 09:58 AM
OE unable to open OE message store David F. Outlook Express 4 May 17th 06 08:27 PM


All times are GMT +1. The time now is 12:31 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-2025 Outlook Banter.
The comments are property of their posters.