(Msg. 1) Posted: Mon Oct 20, 2008 4:58 pm
Post subject: RequiredAttendees Property Changed Event Archived from groups: microsoft>public>outlook>program_forms (more info?)
I have noticed that the PropertyChange Event fires everytime a new recipient
is added to an Meeting/Appointment. Which makes sense, however, the problem
that I seem to be encountering is that the event fires everytime for every
recipient for every recipient..
i.e. I have an appointment with three recipients (Jane Doe; Jack Black; Tom
Test; George W)
The PropertyChange event fires off 16 times (recipeints.count *
recipients.Count)
Does anyone have any ideas on how I might go about trapping on this to only
allow it to run one time per update?
(Msg. 2) Posted: Tue Oct 21, 2008 10:08 am
Post subject: Re: RequiredAttendees Property Changed Event [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Many Outlook UI properties, such as FirstName for example, end up firing
PropertyChange more than once because they actually change more than one
property. Changing FirstName would also change FullName and other properties
that depend on FirstName. The same is occurring with your code.
You can evaluate the Name property to see what's being changed. Then you can
set a flag to indicate that a property was changed and to let you decide if
you want to respond to that event. If you know ahead of time which property
you are interested in and how many times PropertyChange() fires when that
property is changed you can just count the times that PropertyChange() has
fired and do something in the event handler when you want.
"BigDubb" <BigDubb.RemoveThis@discussions.microsoft.com> wrote in message
news:529C2950-7BFB-455E-B6FB-1654A48C4631@microsoft.com...
>I have noticed that the PropertyChange Event fires everytime a new
>recipient
> is added to an Meeting/Appointment. Which makes sense, however, the
> problem
> that I seem to be encountering is that the event fires everytime for every
> recipient for every recipient..
>
> i.e. I have an appointment with three recipients (Jane Doe; Jack Black;
> Tom
> Test; George W)
>
> The PropertyChange event fires off 16 times (recipeints.count *
> recipients.Count)
>
> Does anyone have any ideas on how I might go about trapping on this to
> only
> allow it to run one time per update?
>
> Thanks.
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum