Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: How to check SendReceive status?

Geek News

How to check SendReceive status?
regify[ at ]googlemail.com 11/5/2008 9:26:50 AM
Hi,

I wrote an addin that sometimes needs to press "Send&Receive". Now I
want to avoid pressing this button if sending and receiving is
actually in progress. Is there a property that I can check?

Volker
Re: How to check SendReceive status?
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 11/5/2008 2:32:10 PM
If you use the SyncObjects collection and start the synch then you can
handle the SyncEnd() event to know when the process ends, if Outlook starts
a scheduled sync or the user does so there's no way of knowing when it ends
or even if one is in progress.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


<regify[ at ]googlemail.com> wrote in message
news:01ce2c56-784e-42b7-aaec-df293027d3ca[ at ]n1g2000prb.googlegroups.com...
[Quoted Text]
> Hi,
>
> I wrote an addin that sometimes needs to press "Send&Receive". Now I
> want to avoid pressing this button if sending and receiving is
> actually in progress. Is there a property that I can check?
>
> Volker

Re: How to check SendReceive status?
regify[ at ]googlemail.com 11/6/2008 8:51:30 AM
Thank you, Ken.

Volker

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net