Add-in causing conflicts in public folders

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Team,

I have an Outlook add-in that keeps a handle on which Items are selected in
an Explorer window. Each MailItem selected has a MailHandler which is a
class I designed which keeps the MailItem in a global object (Private
WithEvents mobjMail).

When the selection changes, I tear down all the current MailHandlers (which
set mobjMail to nothing) and create a new collection of MailHandlers for the
new selection.

When users of my toolbar are in a public folder and are both looking at the
same emails, they very often get conflicts on messages they -were- looking
at, even if they were looking at the emails a good while apart.

Can anyone think of a reason
Ta,
Rob
 
Dear Team,

please ignore the above post. I have found the cause of this problem.

It turns out that every time the ChangeSelection event is called I was
rewriting the current categories to the email in question. This was
considered by Outlook to be a change which was never being saved.

Hence the conflicts.

My apologies for filling up this board unnecessarily.

Rob
 
Back
Top