WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

RequiredAttendees Property Changed Event

 
   Home -> Office -> Program Forms RSS
Next:  Populate IPM.Appointment form in public folder fr..  
Author Message
BigDubb

External


Since: Oct 14, 2008
Posts: 21



(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?

Thanks.
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 2898



(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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"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.
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Program Forms 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
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET