Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Fri, 21 Dec 2007 16:55:35 -0000,    group: microsoft.public.platformsdk.mapi        back       


IMsgStore::Advise   
Hi Guys

Seasons Greetings to all!

In Outlook Spy, what functionality do I need to implement for the 
IMsgStore:Advise() tab to show up for folders and messages? My message store 
seems to be lacking these.

Cheers
Win
date: Fri, 21 Dec 2007 16:55:35 -0000   author:   Windoze

Re: IMsgStore::Advise   
OutlookSpy shows that tab if
1. It can retrieve PR_STORE_RECORD_KEY from the object and use it to locate 
the store in the IMAPISession::GetMsgStoresTable. Not sure why I did not 
simply use PR_STORE_ENTRYID...
2. TThe call to IMsgStore:Advise (with the object entry id specified in the 
first two parameters) succeeds.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

"Windoze"  wrote in message 
news:uS$BPJ$QIHA.5524@TK2MSFTNGP05.phx.gbl...
> Hi Guys
>
> Seasons Greetings to all!
>
> In Outlook Spy, what functionality do I need to implement for the 
> IMsgStore:Advise() tab to show up for folders and messages? My message 
> store seems to be lacking these.
>
> Cheers
> Win
>
date: Fri, 21 Dec 2007 11:10:08 -0700   author:   Dmitry Streblechenko

Re: IMsgStore::Advise   
Cheers Dmitry.

"Dmitry Streblechenko"  wrote in message 
news:%23HGu8x$QIHA.4400@TK2MSFTNGP06.phx.gbl...
> OutlookSpy shows that tab if
> 1. It can retrieve PR_STORE_RECORD_KEY from the object and use it to 
> locate the store in the IMAPISession::GetMsgStoresTable. Not sure why I 
> did not simply use PR_STORE_ENTRYID...
> 2. TThe call to IMsgStore:Advise (with the object entry id specified in 
> the first two parameters) succeeds.
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
>
> "Windoze"  wrote in message 
> news:uS$BPJ$QIHA.5524@TK2MSFTNGP05.phx.gbl...
>> Hi Guys
>>
>> Seasons Greetings to all!
>>
>> In Outlook Spy, what functionality do I need to implement for the 
>> IMsgStore:Advise() tab to show up for folders and messages? My message 
>> store seems to be lacking these.
>>
>> Cheers
>> Win
>>
>
>
date: Fri, 21 Dec 2007 22:16:51 -0000   author:   Windoze

Re: IMsgStore::Advise   
Hi

I have a another question.

Outlook Spy picks up my message change notifications. However Outlook 
appears to ignore them completely.

Do I have to notify a change in the parent folder hierarchy as well?

Cheers
Win


"Dmitry Streblechenko"  wrote in message 
news:%23HGu8x$QIHA.4400@TK2MSFTNGP06.phx.gbl...
> OutlookSpy shows that tab if
> 1. It can retrieve PR_STORE_RECORD_KEY from the object and use it to 
> locate the store in the IMAPISession::GetMsgStoresTable. Not sure why I 
> did not simply use PR_STORE_ENTRYID...
> 2. TThe call to IMsgStore:Advise (with the object entry id specified in 
> the first two parameters) succeeds.
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
>
> "Windoze"  wrote in message 
> news:uS$BPJ$QIHA.5524@TK2MSFTNGP05.phx.gbl...
>> Hi Guys
>>
>> Seasons Greetings to all!
>>
>> In Outlook Spy, what functionality do I need to implement for the 
>> IMsgStore:Advise() tab to show up for folders and messages? My message 
>> store seems to be lacking these.
>>
>> Cheers
>> Win
>>
>
>
date: Sat, 22 Dec 2007 00:43:01 -0000   author:   Windoze

Re: IMsgStore::Advise   
What kind of change? In the explorer message view? Do you provide contents 
table notifications?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

"Windoze"  wrote in message 
news:OMxccODRIHA.5136@TK2MSFTNGP04.phx.gbl...
> Hi
>
> I have a another question.
>
> Outlook Spy picks up my message change notifications. However Outlook 
> appears to ignore them completely.
>
> Do I have to notify a change in the parent folder hierarchy as well?
>
> Cheers
> Win
>
>
> "Dmitry Streblechenko"  wrote in message 
> news:%23HGu8x$QIHA.4400@TK2MSFTNGP06.phx.gbl...
>> OutlookSpy shows that tab if
>> 1. It can retrieve PR_STORE_RECORD_KEY from the object and use it to 
>> locate the store in the IMAPISession::GetMsgStoresTable. Not sure why I 
>> did not simply use PR_STORE_ENTRYID...
>> 2. TThe call to IMsgStore:Advise (with the object entry id specified in 
>> the first two parameters) succeeds.
>>
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Windoze"  wrote in message 
>> news:uS$BPJ$QIHA.5524@TK2MSFTNGP05.phx.gbl...
>>> Hi Guys
>>>
>>> Seasons Greetings to all!
>>>
>>> In Outlook Spy, what functionality do I need to implement for the 
>>> IMsgStore:Advise() tab to show up for folders and messages? My message 
>>> store seems to be lacking these.
>>>
>>> Cheers
>>> Win
>>>
>>
>>
>
>
date: Fri, 21 Dec 2007 22:19:57 -0700   author:   Dmitry Streblechenko

Re: IMsgStore::Advise   
HI Dmitry

Thanks for your response.

This is a connector for a remote message store. When an email is being 
fetched this is done in the background. Unfortunately this normally locks 
Outlook up until the message is actually downloaded.

What I'm trying to do is download it in the background and once its done 
replace the message body with the updated text.

I basically would like the reading pane (preview pane) to update with the 
new body. I know that in the OOM I need to release all references and then 
reopen the item for MAPI property changes to show up, but surely a 
notificiation should be sufficient for Outlook to refresh the message?

Cheers
Win
"Dmitry Streblechenko"  wrote in message 
news:%23xyDPoFRIHA.1204@TK2MSFTNGP03.phx.gbl...
> What kind of change? In the explorer message view? Do you provide contents 
> table notifications?
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
>
> "Windoze"  wrote in message 
> news:OMxccODRIHA.5136@TK2MSFTNGP04.phx.gbl...
>> Hi
>>
>> I have a another question.
>>
>> Outlook Spy picks up my message change notifications. However Outlook 
>> appears to ignore them completely.
>>
>> Do I have to notify a change in the parent folder hierarchy as well?
>>
>> Cheers
>> Win
>>
>>
>> "Dmitry Streblechenko"  wrote in message 
>> news:%23HGu8x$QIHA.4400@TK2MSFTNGP06.phx.gbl...
>>> OutlookSpy shows that tab if
>>> 1. It can retrieve PR_STORE_RECORD_KEY from the object and use it to 
>>> locate the store in the IMAPISession::GetMsgStoresTable. Not sure why I 
>>> did not simply use PR_STORE_ENTRYID...
>>> 2. TThe call to IMsgStore:Advise (with the object entry id specified in 
>>> the first two parameters) succeeds.
>>>
>>> Dmitry Streblechenko (MVP)
>>> http://www.dimastr.com/
>>> OutlookSpy  - Outlook, CDO
>>> and MAPI Developer Tool
>>>
>>> "Windoze"  wrote in message 
>>> news:uS$BPJ$QIHA.5524@TK2MSFTNGP05.phx.gbl...
>>>> Hi Guys
>>>>
>>>> Seasons Greetings to all!
>>>>
>>>> In Outlook Spy, what functionality do I need to implement for the 
>>>> IMsgStore:Advise() tab to show up for folders and messages? My message 
>>>> store seems to be lacking these.
>>>>
>>>> Cheers
>>>> Win
>>>>
>>>
>>>
>>
>>
>
>
date: Sat, 22 Dec 2007 10:16:33 -0000   author:   Windoze

Re: IMsgStore::Advise   
Nope. If you do something through the Outlook UI/Object Model, it will 
generally update other pieces of its UI just fine.
If you simply change someting through MAPI, it won't get updated - connect 
to the same mailbox from 2 machines and update a message from one machine 
while it is selected in the preview pane or displayed in an inspector on 
another machine. No updates...
The folder view on the other hand (which only uses the underlying folder 
contents table) gets updated just fine.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

"Windoze"  wrote in message 
news:Oj6e7OIRIHA.5164@TK2MSFTNGP03.phx.gbl...
> HI Dmitry
>
> Thanks for your response.
>
> This is a connector for a remote message store. When an email is being 
> fetched this is done in the background. Unfortunately this normally locks 
> Outlook up until the message is actually downloaded.
>
> What I'm trying to do is download it in the background and once its done 
> replace the message body with the updated text.
>
> I basically would like the reading pane (preview pane) to update with the 
> new body. I know that in the OOM I need to release all references and then 
> reopen the item for MAPI property changes to show up, but surely a 
> notificiation should be sufficient for Outlook to refresh the message?
>
> Cheers
> Win
> "Dmitry Streblechenko"  wrote in message 
> news:%23xyDPoFRIHA.1204@TK2MSFTNGP03.phx.gbl...
>> What kind of change? In the explorer message view? Do you provide 
>> contents table notifications?
>>
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Windoze"  wrote in message 
>> news:OMxccODRIHA.5136@TK2MSFTNGP04.phx.gbl...
>>> Hi
>>>
>>> I have a another question.
>>>
>>> Outlook Spy picks up my message change notifications. However Outlook 
>>> appears to ignore them completely.
>>>
>>> Do I have to notify a change in the parent folder hierarchy as well?
>>>
>>> Cheers
>>> Win
>>>
>>>
>>> "Dmitry Streblechenko"  wrote in message 
>>> news:%23HGu8x$QIHA.4400@TK2MSFTNGP06.phx.gbl...
>>>> OutlookSpy shows that tab if
>>>> 1. It can retrieve PR_STORE_RECORD_KEY from the object and use it to 
>>>> locate the store in the IMAPISession::GetMsgStoresTable. Not sure why I 
>>>> did not simply use PR_STORE_ENTRYID...
>>>> 2. TThe call to IMsgStore:Advise (with the object entry id specified in 
>>>> the first two parameters) succeeds.
>>>>
>>>> Dmitry Streblechenko (MVP)
>>>> http://www.dimastr.com/
>>>> OutlookSpy  - Outlook, CDO
>>>> and MAPI Developer Tool
>>>>
>>>> "Windoze"  wrote in message 
>>>> news:uS$BPJ$QIHA.5524@TK2MSFTNGP05.phx.gbl...
>>>>> Hi Guys
>>>>>
>>>>> Seasons Greetings to all!
>>>>>
>>>>> In Outlook Spy, what functionality do I need to implement for the 
>>>>> IMsgStore:Advise() tab to show up for folders and messages? My message 
>>>>> store seems to be lacking these.
>>>>>
>>>>> Cheers
>>>>> Win
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
date: Sat, 22 Dec 2007 11:47:49 -0700   author:   Dmitry Streblechenko

Re: IMsgStore::Advise   
Cheers for that info Dmitry.

I have another question. In Outlook Spy in the _MailItem view, the entry ID 
of my messages don't render. They appear as an empty string. The thing is if 
I click on the entry ID property for the message some of the other 
properties get reset like the size and the parent folder ID. The entry ID 
and size and all show up in the IMessage interface but not in the _MailItem 
(current item view).

The entry IDs for all my other objects show up just fine.

Cheers
Win

"Dmitry Streblechenko"  wrote in message 
news:OirKrrMRIHA.3556@TK2MSFTNGP03.phx.gbl...
> Nope. If you do something through the Outlook UI/Object Model, it will 
> generally update other pieces of its UI just fine.
> If you simply change someting through MAPI, it won't get updated - connect 
> to the same mailbox from 2 machines and update a message from one machine 
> while it is selected in the preview pane or displayed in an inspector on 
> another machine. No updates...
> The folder view on the other hand (which only uses the underlying folder 
> contents table) gets updated just fine.
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
>
> "Windoze"  wrote in message 
> news:Oj6e7OIRIHA.5164@TK2MSFTNGP03.phx.gbl...
>> HI Dmitry
>>
>> Thanks for your response.
>>
>> This is a connector for a remote message store. When an email is being 
>> fetched this is done in the background. Unfortunately this normally locks 
>> Outlook up until the message is actually downloaded.
>>
>> What I'm trying to do is download it in the background and once its done 
>> replace the message body with the updated text.
>>
>> I basically would like the reading pane (preview pane) to update with the 
>> new body. I know that in the OOM I need to release all references and 
>> then reopen the item for MAPI property changes to show up, but surely a 
>> notificiation should be sufficient for Outlook to refresh the message?
>>
>> Cheers
>> Win
>> "Dmitry Streblechenko"  wrote in message 
>> news:%23xyDPoFRIHA.1204@TK2MSFTNGP03.phx.gbl...
>>> What kind of change? In the explorer message view? Do you provide 
>>> contents table notifications?
>>>
>>> Dmitry Streblechenko (MVP)
>>> http://www.dimastr.com/
>>> OutlookSpy  - Outlook, CDO
>>> and MAPI Developer Tool
>>>
>>> "Windoze"  wrote in message 
>>> news:OMxccODRIHA.5136@TK2MSFTNGP04.phx.gbl...
>>>> Hi
>>>>
>>>> I have a another question.
>>>>
>>>> Outlook Spy picks up my message change notifications. However Outlook 
>>>> appears to ignore them completely.
>>>>
>>>> Do I have to notify a change in the parent folder hierarchy as well?
>>>>
>>>> Cheers
>>>> Win
>>>>
>>>>
>>>> "Dmitry Streblechenko"  wrote in message 
>>>> news:%23HGu8x$QIHA.4400@TK2MSFTNGP06.phx.gbl...
>>>>> OutlookSpy shows that tab if
>>>>> 1. It can retrieve PR_STORE_RECORD_KEY from the object and use it to 
>>>>> locate the store in the IMAPISession::GetMsgStoresTable. Not sure why 
>>>>> I did not simply use PR_STORE_ENTRYID...
>>>>> 2. TThe call to IMsgStore:Advise (with the object entry id specified 
>>>>> in the first two parameters) succeeds.
>>>>>
>>>>> Dmitry Streblechenko (MVP)
>>>>> http://www.dimastr.com/
>>>>> OutlookSpy  - Outlook, CDO
>>>>> and MAPI Developer Tool
>>>>>
>>>>> "Windoze"  wrote in message 
>>>>> news:uS$BPJ$QIHA.5524@TK2MSFTNGP05.phx.gbl...
>>>>>> Hi Guys
>>>>>>
>>>>>> Seasons Greetings to all!
>>>>>>
>>>>>> In Outlook Spy, what functionality do I need to implement for the 
>>>>>> IMsgStore:Advise() tab to show up for folders and messages? My 
>>>>>> message store seems to be lacking these.
>>>>>>
>>>>>> Cheers
>>>>>> Win
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
date: Sat, 22 Dec 2007 19:27:40 -0000   author:   Windoze

Re: IMsgStore::Advise   
I don't know... OutlookSpy simply reads the list of all the exposed 
IDispatch properties and retrieves their values using IDispatch::Invoke()

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

"Windoze"  wrote in message 
news:uzTG4CNRIHA.1204@TK2MSFTNGP03.phx.gbl...
> Cheers for that info Dmitry.
>
> I have another question. In Outlook Spy in the _MailItem view, the entry 
> ID of my messages don't render. They appear as an empty string. The thing 
> is if I click on the entry ID property for the message some of the other 
> properties get reset like the size and the parent folder ID. The entry ID 
> and size and all show up in the IMessage interface but not in the 
> _MailItem (current item view).
>
> The entry IDs for all my other objects show up just fine.
>
> Cheers
> Win
>
> "Dmitry Streblechenko"  wrote in message 
> news:OirKrrMRIHA.3556@TK2MSFTNGP03.phx.gbl...
>> Nope. If you do something through the Outlook UI/Object Model, it will 
>> generally update other pieces of its UI just fine.
>> If you simply change someting through MAPI, it won't get updated - 
>> connect to the same mailbox from 2 machines and update a message from one 
>> machine while it is selected in the preview pane or displayed in an 
>> inspector on another machine. No updates...
>> The folder view on the other hand (which only uses the underlying folder 
>> contents table) gets updated just fine.
>>
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Windoze"  wrote in message 
>> news:Oj6e7OIRIHA.5164@TK2MSFTNGP03.phx.gbl...
>>> HI Dmitry
>>>
>>> Thanks for your response.
>>>
>>> This is a connector for a remote message store. When an email is being 
>>> fetched this is done in the background. Unfortunately this normally 
>>> locks Outlook up until the message is actually downloaded.
>>>
>>> What I'm trying to do is download it in the background and once its done 
>>> replace the message body with the updated text.
>>>
>>> I basically would like the reading pane (preview pane) to update with 
>>> the new body. I know that in the OOM I need to release all references 
>>> and then reopen the item for MAPI property changes to show up, but 
>>> surely a notificiation should be sufficient for Outlook to refresh the 
>>> message?
>>>
>>> Cheers
>>> Win
>>> "Dmitry Streblechenko"  wrote in message 
>>> news:%23xyDPoFRIHA.1204@TK2MSFTNGP03.phx.gbl...
>>>> What kind of change? In the explorer message view? Do you provide 
>>>> contents table notifications?
>>>>
>>>> Dmitry Streblechenko (MVP)
>>>> http://www.dimastr.com/
>>>> OutlookSpy  - Outlook, CDO
>>>> and MAPI Developer Tool
>>>>
>>>> "Windoze"  wrote in message 
>>>> news:OMxccODRIHA.5136@TK2MSFTNGP04.phx.gbl...
>>>>> Hi
>>>>>
>>>>> I have a another question.
>>>>>
>>>>> Outlook Spy picks up my message change notifications. However Outlook 
>>>>> appears to ignore them completely.
>>>>>
>>>>> Do I have to notify a change in the parent folder hierarchy as well?
>>>>>
>>>>> Cheers
>>>>> Win
>>>>>
>>>>>
>>>>> "Dmitry Streblechenko"  wrote in message 
>>>>> news:%23HGu8x$QIHA.4400@TK2MSFTNGP06.phx.gbl...
>>>>>> OutlookSpy shows that tab if
>>>>>> 1. It can retrieve PR_STORE_RECORD_KEY from the object and use it to 
>>>>>> locate the store in the IMAPISession::GetMsgStoresTable. Not sure why 
>>>>>> I did not simply use PR_STORE_ENTRYID...
>>>>>> 2. TThe call to IMsgStore:Advise (with the object entry id specified 
>>>>>> in the first two parameters) succeeds.
>>>>>>
>>>>>> Dmitry Streblechenko (MVP)
>>>>>> http://www.dimastr.com/
>>>>>> OutlookSpy  - Outlook, CDO
>>>>>> and MAPI Developer Tool
>>>>>>
>>>>>> "Windoze"  wrote in message 
>>>>>> news:uS$BPJ$QIHA.5524@TK2MSFTNGP05.phx.gbl...
>>>>>>> Hi Guys
>>>>>>>
>>>>>>> Seasons Greetings to all!
>>>>>>>
>>>>>>> In Outlook Spy, what functionality do I need to implement for the 
>>>>>>> IMsgStore:Advise() tab to show up for folders and messages? My 
>>>>>>> message store seems to be lacking these.
>>>>>>>
>>>>>>> Cheers
>>>>>>> Win
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
date: Sat, 22 Dec 2007 15:24:24 -0700   author:   Dmitry Streblechenko

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us