KB970644

Consider the following scenario on a Windows Vista or a Windows Server 2008-based computer:

  1. The system locale setting is Hebrew or Arabic that uses right-to-left (RTL) language.
  2. You use the FormatDateTime function of Visual Basic Scripting Edition (VBScript) to obtain an expression string that is formatted as a date or a time.
    Note: In this scenario, the string is RTL formatted and this feature is supported because the VBScript version 5.6.

  3. You pass the string to the DateDiff function to obtain the interval between two dates. One of the two dates (which are the parameters for the DateDiff function) is the expression which is from the FormatDateTime function.

In this scenario, you receive the following error message:

Microsoft VBScript runtime error
Type mismatch

KB940284

Consider the following scenario:

  • You use Windows Internet Explorer 7 to visit a Web site.
  • The Web site includes one of the following Microsoft Visual Basic Scripting Edition (VBScript) functions:
    • MsgBox
    • InputBox
  • The Phishing Filter feature is enabled in Internet Explorer.

In this scenario, Internet Explorer 7 may crash.