Contents Index Topic Contents | ||
Previous Topic: IHTMLWindow2::confirm Next Topic: IHTMLWindow2::focus |
IHTMLWindow2::execScript
HRESULT execScript( BSTR code, BSTR language, VARIANT *pvarRet );Executes the specified script.
- Returns S_OK if successful, or an error value otherwise.
- code
- String specifying the script code to execute.
- language
- String specifying the language in which the code is executed. The default is JScript.
- pvarRet
- Address of a variable that receives the return value from the script code.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.