Knowledge Base

OL97: Type Mismatch Calling CreateObject from VBScript

Article ID: 180598

Article Last Modified on 8/27/2007


APPLIES TO


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().

Keywords: kbprb KB180598