The information in this article applies to:
SUMMARYThis article describes how you can update items in an Outlook folder so they open using a different form than the one they are currently associated with. MORE INFORMATIONThere are several situations where you might want to change the form that is used for all the items in a folder. For example:
When you create and publish a custom form, the form is assigned a message class. This message class determines which form is associated with an item. The format of the name is "IPM.<FormType>.<FormName>", where <FormType> is the type of form (Contact, Task, and such) and <FormName> is the name of the custom form. For example, if you create a new contact form, name it Revised, and then publish it to your Contacts folder, the message class is IPM.Contact.Revised. NOTE: In each of the following operations, it is imperative that the new message class name be entered exactly as the name used when the form was published. The following table lists the various names used for message classes: NOTE: You cannot customize and publish the Note form.To see the message class for an existing item, add the message class field as one of the columns in the current view. The message class in this view is read-only; you cannot type in a different message class to change the form manually. To add the message class to your view, follow these steps:
The following are two methods of changing Message Class fields. You should use the second method only if you do not have Microsoft Word 97 or Word 2000, or you cannot obtain the Omsgclas.exe file. Download the Omsgclas.exe UtilityDownload Omsgclas.exe, which contains a Word 97/2000 document with a macro that changes Outlook message classes. This is the same utility that was available for Outlook 97 and Word 97. It also works with Outlook 2000 and Word 2000. The macro runs automatically when you open the document.When you open omsgclas in Word 2000, you may find that the Word document will come up but the macro will not run. To correct this problem, you must reset the macro security in Word 2000. While in Word, point to Macro on the Tools menu and click Security. Change the security to low or medium. This will enable the macro to run. For more information on obtaining the Omsgclas.exe file, please see the following article in the Microsoft Knowledge Base: Q201089 OL2000: Word Document to Change Message Class of Outlook Items Create a VBScript RoutineMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Solution Provider or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Solution Providers, please see the following page on the World Wide Web:http://www.microsoft.com/mcsp/For more information about the support options available from Microsoft, please see the following page on the World Wide Web: http://www.microsoft.com/support/supportnet/overview/overview.aspFollow the steps below to create and run a VBScript routine that will change all the items in a folder to a specified form. This example assumes that you have published a new form called MyNewForm in the current folder. If you use a different title for your form, modify the form title used in the third line of code in the section "Enter the VBScript Code." There are three tasks to this solution.
Create a New Item to Store the VBScript Code
Enter the VBScript Code and Save the Form
Run the VBScript Code
REFERENCES
For additional information about available resources and answers
to commonly asked questions about Microsoft Outlook 2000 solutions,
please see the following articles in the Microsoft Knowledge Base: Q146636 OL2000: Questions About Custom Forms and Outlook Solutions Q241220 OL2000: General Information About the Existing Items Converter Additional query words: OutSol OutSol2000 OL2K
Keywords : kbdta |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |