VBScript CreateObject Method Creates TAPI Objects in HTML Without Any Security Warning Message (278035)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional

This article was previously published under Q278035

SYMPTOMS

When you use the CreateObject method that is written in the Visual Basic Scripting Edition to create Windows Telephony Application Programming Interface (TAPI) objects in HTML script and you then run the script in Microsoft Internet Explorer, the TAPI objects are successfully created. However, although Internet Explorer has the default security option turned on, you do not receive any security warning message.

CAUSE

This behavior occurs because Windows 2000 incorrectly identifies TAPI objects as safe if they are created by use of the CreateObject method.

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

WORKAROUND

To work around this behavior, create TAPI objects by using the <object> tag that is embedded in HTML. If it is appropriate, you can also lower the security level in Internet Explorer; however, lowering the security level is generally not a good idea, and Microsoft does not recommend this workaround.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was first corrected in Windows 2000 Service Pack 2.

MORE INFORMATION

For more information about using VBScript to create TAPI objects, refer to sample scripts that are published in the Platform Software Development Kit (SDK). You can download the Platform SDK without charge from the following Microsoft Web site: After you install the Platform SDK on your computer, look for the Calldemo.htm, ConferenceJoin.htm, and Confmgr.htm files in the \Program Files\Microsoft Platform SDK\Samples\NetDs\Tapi\Tapi3\VBScript folder.

Modification Type:MajorLast Reviewed:5/15/2006
Keywords:kbbug kbfix kbProgramming KB278035