Microsoft KB Archive/231989

From BetaArchive Wiki
Knowledge Base


Article ID: 231989

Article Last Modified on 9/11/1999



APPLIES TO

  • Microsoft Outlook 98 Standard Edition



This article was previously published under Q231989


SYMPTOMS

You select an item in a folder, and the preview pane displays the following message:

Items with embedded script cannot be displayed in the preview pane.

CAUSE

The Outlook preview pane does not support displaying items that contain "active content." However, the behavior is different depending on the type of item you are using.

MORE INFORMATION

If the item is a mail message or post, it cannot be previewed if the item is based on a custom form that uses Visual Basic Scripting Edition (VBScript) in any way.

If the item is something other than a mail message or post, it will display in the preview pane if it is based on a published form. However, it cannot be previewed if the item -- at any point in time -- contained VBScript that was directly stored within the item. Once an item contains programming code, Outlook sets a flag in the item indicating that it contains active content. Once this flag has been set, it cannot be reset. If you delete the VBScript, or programmatically change the message class so that the item will once again used a published form, the contents of the item will still not be viewable in the preview pane.

VBScript code can be stored in the item if the form designer specified saving the form definition with the item, or if the item somehow used a one-off form.

For more information about one-off forms, please see the following article in the Microsoft Knowledge Base:

207896 OL2000: Working with Form Definitions and One-Off Forms


For example, if you receive a mail message that is based on a custom form stored in the Organizational Forms Library, you will not be able to preview the mail message. If you use a custom contact form that is stored in the Organizational Forms Library as your default contact form, you will be able to preview the Notes field using the preview pane. If the custom contact form becomes embedded in the contact item, you will no longer be able to preview the contact.

REFERENCES

For more information about creating solutions with Outlook, please see the following articles in the Microsoft Knowledge Base:

180826 OL98: Resources for Custom Forms and Programming


182349 OL98: Questions About Custom Forms and Outlook Solutions



Additional query words: OutSol OutSol98 98

Keywords: kbprb KB231989