OL97: Type Mismatch Calling CreateObject from VBScript (180598)



The information in this article applies to:

  • Microsoft Outlook 97

This article was previously published under Q180598

SYMPTOMS

The CreateObject() function fails with Type Mismatch error in the VBScript of an Microsoft Outlook 97 form.

CAUSE

The Scripting Engine installed on the computer may be earlier than version 2.0.

RESOLUTION

Update the Scripting Engine. Updates can be found on the Microsoft Web site at: CreateObject() was not supported before version 2.0 of the Scripting Engine.

The title of the download may change as versions increment, but this site will contain a pointer to the latest available Scripting Engine.

MORE INFORMATION

While CreateObject() was first supported by the Scripting Engine 2.0 Outlook version 8.03 is the first version that installed a Scripting Engine capable of performing a CreateObject().

Modification Type:MajorLast Reviewed:10/26/2000
Keywords:kbprb KB180598