The information in this article applies to:
SYMPTOMSIf you create a custom Microsoft Outlook 97 form based on the Mail Message form, when you try to set the custom form as the default form for the Inbox, you may receive the following error message:
CAUSEThe base message class (an internal property) of the custom form does not match the Inbox folder's base message class. WORKAROUND
Publish the custom form in the Folder Forms Library for the Inbox and use
the form from the item (Compose) menu.
NOTE: There is no way to have a custom form applied to incoming mail. All mail that is received will have a message class of IPM.Note and will use Outlook's default mail message form. This means that there is no way to have Visual Basic Scripting Edition (VBScript) code run when a message is received. A workaround would be to create a Visual Basic program that runs continuously (an "agent") and periodically automates Outlook to process new items in the Inbox. MORE INFORMATIONTo set a default form for a folder, follow these steps:
The table below lists the folder type and its message class.
When creating a custom form based on the Mail Message form, the base
message class is IPM.Note. This base message class is not one of the
classes that you can set as default; therefore, you cannot set a custom
Mail Message form as default for any of these Outlook folders.
For folders other than mail item folders, this is not limiting behavior. If you are designing a custom form for a Task folder, you start with the built-in Task form which has the IPM.Task message class; therefore, the base message class is compatible. The only folder type that has this limitation is the Mail Items folder type. REFERENCESFor more information about creating solutions with Microsoft Outlook 97, please see the following articles in the Microsoft Knowledge Base: Q166368 OL97: How to Get Help Programming with Outlook Q170783 OL97: Q&A: Questions about Customizing or Programming Outlook Additional query words: OutSol OutSol97 can[ASCII 146]t cant
Keywords : FmsHowto |
Last Reviewed: October 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |