Outlook VSTO Add-In Sending Meeting requests Twice

B

BigDubb

We have created a VSTO addin for Outlook Meetings.

As part of this we trap on the SendEvent of the message on the
FormRegionShowing event:
_apptEvents.Send += new
Microsoft.Office.Interop.Outlook.ItemEvents_SendEventHandler(_apptEvents_Send);

The method _apptEvents_Send then tests on a couple of properties

private void _apptEvents_Send(ref bool Cancel)
{
if (!_Qualified)
{
MessageBox.Show("Meeting has not been qualified",
"Not Qualified Meeting", MessageBoxButtons.OK, MessageBoxIcon.Information);
chkQualified.Focus();
Cancel = true;
}
}

The problem that we're having is that soem users' messges get sent twice.
Once when the meeting is sent and a second time when the user re-opens
outlook.

Does anyone have any ideas on what might be causing this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top