m_shane_tx

Im Using
VS 2005
VSTO 2005 SE
Office 2003

I am writing an outlook addin that intergrates with our customer service database and I want the addin to check for updates to the database frequently. I am trying to attach to the send/receive action that occurs within Outlook(Either auto S/R or manual S/R) I want the update check to happen everytime Outlook does a send/receive update (even if nothing was sent or received).

Is there an event that fires everytime a send/receive occurs

If not is there another way to make my update happen in sync with the send/receive

Thanks,

Shane Horn

Advanced Fixtures, Inc



Re: Visual Studio Tools for Office VSTO-Outlook AddIn-Which event fires at Send/Receive??

Sue Mosher - Outlook MVP

No, there is no such event. The SyncObject.SyncEnd event fires only if SyncObject.Start is called first. One alternatives would be to use a timer. Another would be to subscribe to the NewMail or NewMailEx event for incoming messages and the Items.ItemAdd event for the Sent Items folder, to track outgoing message activity.



Re: Visual Studio Tools for Office VSTO-Outlook AddIn-Which event fires at Send/Receive??

m_shane_tx

If your settings have Auto Synchronizations to the exchange server set to go off every 5 min(and they do fire). Does that mean that SyncObject.Start has been called



Re: Visual Studio Tools for Office VSTO-Outlook AddIn-Which event fires at Send/Receive??

suneelpotluri

Hi,
I'm also doing simila type of project.
I need to develop a plugin for outlook that could access my company database.
I need to add a button on the tool bar of the window that opens when i click on reply button.

Can you please tell me how to do this
I'm very much new to .net..

Thanks
Sunil





Re: Visual Studio Tools for Office VSTO-Outlook AddIn-Which event fires at Send/Receive??

m_shane_tx

You need to watch for opening of new 'inspector' windows (the reply message window is one of these) and then add the button to that inspector's toolbar.

Try this link it may help

http://www.outlookcode.com/codedetail.aspx id=797