A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Add-in causing conflicts in public folders



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 14th 06, 01:34 PM posted to microsoft.public.outlook.program_vba
RobL
external usenet poster
 
Posts: 2
Default Add-in causing conflicts in public folders

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
--
Software Support Engineer
i2 Ltd.
Ads
  #2  
Old February 17th 06, 08:47 AM posted to microsoft.public.outlook.program_vba
RobL
external usenet poster
 
Posts: 2
Default Add-in causing conflicts in public folders

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
--
Software Support Engineer
i2 Ltd.


"RobL" wrote:

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
--
Software Support Engineer
i2 Ltd.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
exchange public folders in outlook jpzb Outlook - Using Contacts 0 February 28th 06 11:08 PM
Exchange public folders gary Outlook - Using Contacts 2 February 23rd 06 04:21 PM
Public folders in Exchange 2003 yellowfish Outlook - Using Contacts 1 January 26th 06 04:51 PM
Public holiday in shared folders Support Outlook - General Queries 5 January 18th 06 03:24 PM
Forms and Public Folders kr00zn Outlook - Using Forms 1 January 11th 06 09:10 PM


All times are GMT +1. The time now is 05:09 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.