![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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 |
Ads |
#2
|
|||
|
|||
![]()
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 On May 25, 9:49 am, "JohnV@nn" wrote: 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
change a category for appointment that is in a series | Steve_pctchr | Outlook - Calandaring | 3 | August 29th 07 01:46 AM |
Remove an individual occurrence of recurring appointment | Skipper | Outlook and VBA | 10 | April 4th 07 07:02 PM |
how to undelete an appointment occurrence(s) in a series | B1 | Outlook - Calandaring | 1 | April 19th 06 06:52 PM |
ability to change appointment series for ALL FUTURE OCCURENCES | Ant | Outlook - Calandaring | 1 | April 2nd 06 06:11 AM |
How to change appointment time for a series? | Bryan | Outlook - General Queries | 4 | February 3rd 06 04:02 PM |