Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Outlook has already begun transmitting this message

Geek News

Outlook has already begun transmitting this message
Dorian 11/10/2008 7:54:04 PM
One of my users has been getting this message.

System.Runtime.InteropServices.COMException (0xBBC40114): Outlook has
already begun transmitting this message.
at Microsoft.Office.Interop.Outlook._MailItem.get_EntryID()
at PeiceOutlookSupportTracker.ThisAddIn.Explorer_SelectionChange()

Code:

private void Explorer_SelectionChange()
{
try
{
if (m_Explorer != null)
{
// We only care if there is a single collection
Selection sel = m_Explorer.Selection;
if (sel.Count == 1)
{
object item = sel[1];
if (item is MailItem)
{
MailItem mail = (MailItem)item;

if (vmHandler.LastItemId != mail.EntryID)
{
...Additional code here...
}
}
}
}
}
}
catch (Exception ex)
{
// Log error here
}

Anyone know what exactly is going on and how to make sure it doesn't occur?

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