
Signature
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
On 30 Jul., 15:14, "Ken Slovak - [MVP - Outlook]" <kenslo...@mvps.org>
wrote:
> Is that custom form with that MessageClass published in Outlook? It sounds
> like the form isn't published and the items are one-offed.
[quoted text clipped - 19 lines]
> > Thank you in advance.
> > Tobi
Thank you. After I designed the form I published (Outlook 07: "Publish
Form As") and gave an appropriate name. Then I right click on a folder
and assign that custom form to that particular folder. Then the
strange behaviour. I create an item, everything is fine. Opening,
saving, PR_MESSAGE_CLASS and the icon are correct. When I restart
Outlook the moment I save the item the PR_MESSAGE_CLASS and the icon
are gone. Strange, that can't be the desired behaviour, right? Funny
thing, Outlook still opens the item, even though there's nothing left
of my custom class, with that custim form.
I'm hacking the PR_MESSAGE_CLASS back in but that can't be it. Do you
mean a different kind of publishing?
Tobi
Ken Slovak - [MVP - Outlook] - 30 Jul 2009 19:24 GMT
There's only one publishing that you'd use, Publish As and then selecting a
library (Personal or Organizational) or publishing to a folder. As long as
you only publish to one location and make sure to increment the Version
property of the form (a string but can be used as if an int value) things
are usually OK.
It's possible there's some form of forms cache corruption, that should be
eliminated first. Go to the Manage Forms dialog and click the button to
clear the cache. At that time make sure the form is published to the desired
location and no other.
The folder default form property just make sure your custom form is used to
create all new items in that folder.
About the only other thing I can think of is to examine one of the problem
items in a MAPI viewer such as OutlookSpy or MFCMAPI and see if you can spot
any differences between it and an item that's OK.
You aren't by any chance synching those items with some sort of PDA or IPod
or IPhone or other device? If so that might be the cause of the problem if
that synching software can't deal with custom form items and changes them
back to the standard MessageClass.

Signature
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
<snip>
Thank you. After I designed the form I published (Outlook 07: "Publish
Form As") and gave an appropriate name. Then I right click on a folder
and assign that custom form to that particular folder. Then the
strange behaviour. I create an item, everything is fine. Opening,
saving, PR_MESSAGE_CLASS and the icon are correct. When I restart
Outlook the moment I save the item the PR_MESSAGE_CLASS and the icon
are gone. Strange, that can't be the desired behaviour, right? Funny
thing, Outlook still opens the item, even though there's nothing left
of my custom class, with that custim form.
I'm hacking the PR_MESSAGE_CLASS back in but that can't be it. Do you
mean a different kind of publishing?
Tobi