OL2000: MsgBox, InputBox Titlebars Prefixed with 'VBScript' (234742)



The information in this article applies to:

  • Microsoft Outlook 2000

This article was previously published under Q234742

SYMPTOMS

You use the MsgBox or InputBox commands in Microsoft Visual Basic Scripting Edition (VBScript) and specify custom text for the titlebar of the window, but VBScript: is added to the beginning of the text.

CAUSE

This is a new security feature of VBScript version 5.0.

MORE INFORMATION

This change prevents someone from writing malicious code that uses the MsgBox or InputBox commands to imitate other dialog boxes. This ensures that all dialog boxes originating from VBScript code are clearly labeled as such.

There is no way to remove the VBScript: prefix from the titlebar.

REFERENCES

For additional information about available resources and answers to commonly asked questions about Microsoft Outlook 2000 solutions, please see the following article in the Microsoft Knowledge Base:

146636 OL2000: Questions About Custom Forms and Outlook Solutions


Modification Type:MajorLast Reviewed:10/8/2003
Keywords:kbprb kbprogramming KB234742