IHTMLWindow2::execScriptIHTMLWindow2::execScript*
*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.

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.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.