???? ????? ????? "??? ????? ?????" ???????? ????? VBScript ?? Internet Explorer ??? ????? ??????? ?????? ???????? ??? ??????

?????? ????????? ?????? ?????????
???? ???????: 976949 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?????

???? ??????? ?????? ???????? ??? ?????? ??????? Internet Explorer (?????? ?? MS09-054) ?????? ??? ?????? ????? "?????" ??????? ?????? ??????? ??????? ??????? ????????. ???? ?????????? ?????? ?? ???? ??? ???????? ??????? ????? ??? ???? ????? "??? ????? ?????" ????????? ????? ?? ????? ????? ???? ?????? VBScript ?? ?? ????? ????? ???? ?????? ?????? ?? VBScript ?JavaScript.

????? ?? ????????? ??? MS09-054? ???? ??? ??? ??????? ?????? ?????? ?? "????? ????? Microsoft" :
974455 MS09-054: ??????? ?????? ???????? ??????? Internet Explorer

???????

?? ???? ????? "??? ????? ?????" ????????? ????? ?? ????? ????? ???? ?????? VBScript ???? ????? ???? ?? ???? ??????. ??? ???? ?? ???? ????? ?? ????? ????? ???? ?????? ??????? showModalDialog() ?? showModelessDialog(). ???? Microsoft ?????? ??????? ?????????? ??????? ???? ?? ???? ??? ???? ????? "??? ????? ?????" ????????? ?????:
  • showModalDialog()
    ????? ????????? ????? ????? ???? Array() ?????? ??? ??????? showModalDialog() ?? VBScript. ???? ??????? showModalDialog() ??? ??? ????? ????? ?????? (sURL) ???????? ?????????? (vArguments ?sFeatures). ?????? ??????? vArguments ????? ?? ????? ??????? ???? ???? ???????? ??????? ????????? ??? ??? ???????. ???? ??? ???? ?? ????? Array() ???? ????? ??? ????? vArguments ??????????? ???? ???? ??? "??? ????? ?????" ????????? ?????.

    ????? ?? ????????? ??? ??????? showModalDialog? ?? ?????? ???? Microsoft MSDN ??????? ??? ?????:
    http://msdn.microsoft.com/ar-sa/library/ms536759(VS.85).aspx
  • showModelessDialog()
    ????? ????????? ?????? ????? ???? Array() ?????? ??? ??????? showModelessDialog() ?? VBScript. ????? ??????? showModelessDialog() ??? ??? ????? ????? ?????? (sURL) ???????? ?????????? (vArguments ?sFeatures). ?????? ??????? vArguments ????? ?? ????? ??????? ???? ???? ???????? ??????? ????????? ??? ??? ???????. ???? ??? ???? ?? ????? Array() ???? ????? ??? ????? vArguments ??????????? ???? ???? ??? "??? ????? ?????" ????????? ?????.

    ????? ?? ????????? ??? ??????? showModelessDialog()? ?? ?????? ???? Microsoft MSDN ??????? ??? ?????:
    http://msdn.microsoft.com/en-us/library/ms536761(VS.85).aspx/PathLink>
  • returnValue
    ????? ????????? ?????? ??????? ?????? ??????? returnValue ????? ????? ?????? ?????? ????????. ???????? returnValue ?? ????? ?????/????? ???? ??? ???? ????????. ?????? ??????? ???????? ??? MSDN? ????? ??????? returnValue ??? ??? ??????? ???? ?? ??????? ???????? ??????? showModalDialog(). ???? ??? ???? ?? ????? ??????? returnValue? ?????? ????? ????? ?????? ?????? ????????? ???? ???? ????? ??? Array() ?? VBScript? ???? ???? ????? "??? ????? ?????" ????????? ?????.

    ????? ?? ????????? ??? ??????? return Value? ?? ?????? ???? Microsoft MSDN ??????? ??? ?????:
    http://msdn.microsoft.com/ar-sa/library/ms534371(VS.85).aspx
?? ????? ??????? ?? ????? Microsoft ???? ????? "??? ????? ?????" ????????? ????? ??? ??????? ??????? ?????? ???????? ??? ?????? ?? ????? ????? ???? ?????? JavaScript ????????? ??? ??????? ?????? ??????? ?? ???? ??????. ???? ??? ??????? ??? ?? ????? ????? ???? ?????? ??????? showModalDialog() ?? ??????? showModelessDialog() ?? ??????? returnValue ?? VBScript. ???? ???? ???? ????? ????? ??? ???? ?? VBScript ?JavaScript ????? ?? ???? ??? ??? ??????? ??? ???? ???? ????? ?????? ???????? ?? ??????? ???? ??? ???????? ?????? ?? VBScript ?? ??? ???? ???? ????? ?????? ?????? VBArray. ?????? ??????? VBArray ??? ????. ????? ?? ??? ?????? ???????????? ???? ????? VBArray ?? ????? ????? ??????? ???.

?????

?? ????? ??????? ?????? ???????? ??????? Internet Explorer ??? MS09-054 ??????? ??????? ??????? ???????? ?? ?????? Internet Explorer. ????? ?? ??????? ?????? ????????? ???? ?????? Internet Explorer ?????? ??? ????? ??????? ??????? ??? ??????? ???????? ??? ????? ??????? ?? ????? ???????? ???????. ?????? ?????? ????? ???????? ???? ????? ?????? ??? ???????? ?? ????? ??????? ???? ??? ??????? ???? ?? ????????? ???? ??? ?????? ???? ?????? ???????? ???? ?? ??? ????? ???????? ?? ????? ????? ?? ???????. ??? ???? ??? ???????? ???????? ??? ?????????? ????????? ??????? ???? ?????? ????? ???????? ????????.

????

??? ??? ???????? ?? ?????? ??????? ??? ?????? ??? ????? ??????? ?????? ???????? ??? ??????. ????? ?? ????????? ??? ??? ???????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ????? Microsoft" :
976749 ???? ????? ??????? Internet Explorer ?? ??? ?? ???????? ???? ???? ??? ????? ??????? ?????? ?????? (MS09-054)

??? ?? ??? ?????? ??????? ??? ?????? ??? ?? ??? ?? ?? ????? ??????? ?????? ??? ??????. ???? ?? ????? ??????? ??? ?????? ???? ????? ??????? ?????? ???????? ??? ?????? ?????? ?? ?? ???? ?????? Internet Explorer ?????? ?????. ?? ???? ???? ???? ?? ?????? ????? ??????? ??? ??????? ?? ?? ?????? ??????? ?????? ?? ??????? ???? ??? ?? ?????? ????? ??????? ??? ??????.

???? ??????

???? ?????????? ?? ??????? ??????? ?????? ???????? ??? ?????? ?????? ??????? ??? ?????? ??? ????? ??????? ??????? ?? ??? ???????. ????? ??????? ????? ????? ????? ??????? ?????? ???????? ??????? ?????.

??????? ????????? ????? ??????? ?????? ?? ????? "???????"? ????? ??????? ?? ???? ??? ??? ???? ????? ??????? ?????? ??? ??????. ???? ????? ??????? ??? ??????? showModalDialog() ?? showModelessDialog() ??? ???? ??? "??? ????? ?????" ????????? ?????.

??? ???? ??????? ?????? VBScript ?????? ?? ???? ??? "??? ????? ?????" ????????? ?????.
// TYPE MISMATCH
vReturn = window.showModalDialog("http://www.contoso.com", Array(1,2,3,4,5,6,7))
????? VBScript ?????? ?????? ???? ??? ??????? showModalDialog() ?? showModelessDialog() ??? ???? ??? "??? ????? ?????" ????????? ?????.
// NO TYPE MISMATCH ERROR
Dim myArray
myArray=Array(1,2,3,4,5,6,7)
vReturn = window.showModalDialog("http://www.contoso.com", myArray)
??????? ????????? ?????? ???? ?? ?????? ??????? ????? ??????? ?? ???? ??? ?? ??? ???? ????? ??????? ?????? ??? ??????. ?????? ?? ???? ??????? ???????? ?? ???????????? ???? ??? ???? ????? ???? Array() ??? ???? ???? ??? ??????? returnValue? ?????? ???????? Join ?Split VBScript. ????? ?? ??? ??????? ????? ??? Array() ??? ??????? returnValue.

??? ???? ??????? ?????? VBScript ?????? ?? ???? ??? "??? ????? ?????" ????????? ?????.

// TYPE MISMATCH
Dim arrayItems
arrayItems(0) = 1
arrayItems(1) = 2
arrayItems(2) = 3
Window.returnvalue = arrayItems
??? ??????? ???????? Join ?Split VBScript? ????? ????? ??????? returnValue ??? ???? ??? "??? ????? ?????" ????????? ?????.

// NO TYPE MISMATCH ERROR
Dim arrayItems
arrayItems(0) = 1
arrayItems(1) = 2
arrayItems(2) = 3

Dim arrString = Join(arrayItems, ";")
Window.returnvalue = arrString
Dim strTemp = window.showModalDialog(??)
Dim arrayItems = Split(strTemp, ";")

??????? ????????? ?????? ?????? ?????? ????? ??? ??? ????? ??? Array() ?????? ??????? ?? ??? Array() ???? ????? ??? ?????? ??? ??????? returnValue? ????? ??????? ?? ???? ??? ??? ?? ???? ????? ??????? ?????? ??? ??????. ??????? ?? ???? ??????? ???????? ?? ??? ?????????? ????? ??????? ?????? JavaScript ?????? ??????? returnValue. ?????? ???? JavaScript ??? ?????? ??????? ?????? ???????? ?????? ????????? ????? VBScript. ?????? ??? ???? ?????? returnValue? ?? ??????? ?????? ?????? JavaScript? ?????? ???????? ????? VBScript.

??? ???? ??????? ?????? VBScript ?????? ?? ???? ??? "??? ????? ?????" ????????? ?????.
// TYPE MISMATCH
<script LANGUAGE=vbscript>
Option Explicit
Sub Window_OnLoad
Dim abc(1,2,3)
Window.ReturnValue = abc
End Sub
</script>
??? ??????? ?????? JoinJavaScript ????? ???????? ????? VBScript? ????? ????? ??????? returnValue ??? ???? ??? "??? ????? ?????" ????????? ?????.
// NO TYPE MISMATCH ERROR
<script Language=JavaScript>
function setReturnValue(){
var returnValueArray= new Array();
returnValueArray[0] = 1;
returnValueArray[1] = 2;
returnValueArray[2] = 3;
window.returnValue = returnValueArray;
}
</script>

<script LANGUAGE=vbscript??
Option Explicit

Sub Window_OnLoad
setReturnValue()
msgbox window.returnValue
End Sub
</script>

?????

???? Microsoft ?? ??? ??????? ???? ?? ?????? Microsoft ??????? ?? ????? "????? ???".

???????

???? ???????: 976949 - ????? ??? ??????: 16/?? ?????/1430 - ??????: 3.1
????? ???
  • Windows Internet Explorer 8, ????? ?????? ??:
    • Windows Server 2008 Datacenter without Hyper-V
    • Windows Server 2008 Enterprise without Hyper-V
    • Windows Server 2008 for Itanium-Based Systems
    • Windows Server 2008 Standard without Hyper-V
    • Windows Server 2008 Datacenter
    • Windows Server 2008 Enterprise
    • Windows Server 2008 Standard
    • Windows Web Server 2008
    • Windows Server 2008 R2 Datacenter
    • Windows Server 2008 R2 Enterprise
    • Windows Server 2008 R2 Standard
    • Windows Web Server 2008 R2
    • Windows 7 Enterprise
    • Windows 7 Home Basic
    • Windows 7 Home Premium
    • Windows 7 Professional
    • Windows 7 Ultimate
    • Windows Vista Business
    • Windows Vista Enterprise
    • Windows Vista Home Basic
    • Windows Vista Home Premium
    • Windows Vista Ultimate
    • Windows Vista Enterprise 64-bit edition
    • Windows Vista Home Basic 64-bit edition
    • Windows Vista Home Premium 64-bit edition
    • Windows Vista Ultimate 64-bit edition
    • Windows Vista Business 64-bit edition
    • Microsoft Windows XP Professional
    • Microsoft Windows XP Home Edition
    • Microsoft Windows XP Professional x64 Edition
    • Microsoft Windows Server 2003, Datacenter x64 Edition
    • Microsoft Windows Server 2003, Enterprise x64 Edition
    • Microsoft Windows Server 2003, Standard x64 Edition
    • Microsoft Windows Server 2003, Web Edition
    • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
    • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
    • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
    • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
    • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Windows Internet Explorer 7, ????? ?????? ??:
    • Windows Server 2008 Datacenter without Hyper-V
    • Windows Server 2008 Enterprise without Hyper-V
    • Windows Server 2008 for Itanium-Based Systems
    • Windows Server 2008 Standard without Hyper-V
    • Windows Server 2008 Datacenter
    • Windows Server 2008 Enterprise
    • Windows Server 2008 Standard
    • Windows Web Server 2008
    • Windows Server 2008 R2 Datacenter
    • Windows Server 2008 R2 Enterprise
    • Windows Server 2008 R2 Standard
    • Windows Web Server 2008 R2
    • Windows 7 Enterprise
    • Windows 7 Home Basic
    • Windows 7 Home Premium
    • Windows 7 Professional
    • Windows 7 Ultimate
    • Windows Vista Business
    • Windows Vista Enterprise
    • Windows Vista Home Basic
    • Windows Vista Home Premium
    • Windows Vista Ultimate
    • Windows Vista Enterprise 64-bit edition
    • Windows Vista Home Basic 64-bit edition
    • Windows Vista Home Premium 64-bit edition
    • Windows Vista Ultimate 64-bit edition
    • Windows Vista Business 64-bit edition
    • Microsoft Windows XP Professional
    • Microsoft Windows XP Home Edition
    • Microsoft Windows XP Professional x64 Edition
    • Microsoft Windows Server 2003, Datacenter x64 Edition
    • Microsoft Windows Server 2003, Enterprise x64 Edition
    • Microsoft Windows Server 2003, Standard x64 Edition
    • Microsoft Windows Server 2003, Web Edition
    • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
    • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
    • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
    • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
    • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Internet Explorer 6.0, ????? ?????? ??:
    • Microsoft Windows XP Professional
    • Microsoft Windows XP Home Edition
    • Microsoft Windows XP Professional x64 Edition
    • Microsoft Windows Server 2003, Datacenter x64 Edition
    • Microsoft Windows Server 2003, Enterprise x64 Edition
    • Microsoft Windows Server 2003, Standard x64 Edition
    • Microsoft Windows Server 2003, Web Edition
    • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
    • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
    • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
    • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
    • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Internet Explorer 6.0 SP1, ????? ?????? ??:
    • Microsoft Windows 2000 Advanced Server
    • Microsoft Windows 2000 Datacenter Server
    • Microsoft Windows 2000 Professional Edition
    • Microsoft Windows 2000 Server
  • Microsoft Internet Explorer 5.01 Service Pack 4, ????? ?????? ??:
    • Microsoft Windows 2000 Advanced Server
    • Microsoft Windows 2000 Datacenter Server
    • Microsoft Windows 2000 Professional Edition
    • Microsoft Windows 2000 Server
????? ??????: 
kbcode kbtshoot kbbug kbexpertiseinter kbsecurity kbsecvulnerability kbsurveynew KB976949

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com