Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / May 2007

Tip: Looking for answers? Try searching our database.

Appointment series: individual occurrences becoming one-off

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JohnV@nn - 25 May 2007 14:49 GMT
Has anyone ever seen this situation.  I have a custom, published
appointment form with two user-defined fields (defined both on the
custom form, and in the folder); in my vsto add-in code, I am setting
these value via the ItemProperties collection (not UserProperties
collection).  In the case of a recurring appointment, I iterate thru
all the occurrences, and set the values of these 2 properties, inside
the Write event.  So far so good.  But when I go to look at the series
in the calendar view, I have 2 unexpected (and bad) things:

1 - on all the occurrences except the master, the subject is not
displayed; it just shows the time.
2 - if I try to open any single occurrence (except the master), the
item is apparently one-off because I get the "malicious code" dialog,
and some controls in my form (e.g. ListView) are not displayed.

Looking at one of these one-off appointments in the debugger, I can
view those user-defined properties (via the ItemProperties) and they
are populated as expected.  I use only ItemProperties collection,
never UserProperties.

I can still open the master appointment with no problem (it does not
appear to be one-off), and all my controls load fine, and the 2 user-
defined properties are there and populated as expected.

What could be causing this?

Thanks,
John
JohnV@nn - 29 May 2007 20:51 GMT
More info on this.  It is a confirmed bug with Outlook 2003, pre-SP2,
that any single occurrence of a recurring appointment was one-off, no
matter what you do.  Installing SP2 fixes this, and the problem I
described below goes away.

Thanks,
John

> Has anyone ever seen this situation.  I have a custom, published
> appointment form with two user-defined fields (defined both on the
[quoted text clipped - 24 lines]
> Thanks,
> John
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.