Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

IActiveScriptSite

Implemented by the host to create a site for the Windows Script engine. Usually, this site will be associated with the container of all the objects that are visible to the script (for example, the ActiveX Controls). Typically, this container will correspond to the document or page being viewed. Microsoft Internet Explorer, for example, would create such a container for each HTML page being displayed. Each ActiveX control (or other automation object) on the page, and the scripting engine itself, would be enumerable within this container.

Method

Description

IActiveScriptSite::GetLCID

Retrieves the locale identifier that the host uses for displaying user-interface elements.

IActiveScriptSite::GetItemInfo

Obtains information about an item that was added to an engine through a call to the IActiveScript::AddNamedItem method.

IActiveScriptSite::GetDocVersionString

Retrieves a host-defined string that uniquely identifies the current document version from the host's point of view.

IActiveScriptSite::OnScriptTerminate

Called when the script has completed execution.

IActiveScriptSite::OnStateChange

Informs the host that the scripting engine has changed states.

IActiveScriptSite::OnScriptError

Informs the host that an execution error occurred while the engine was running the script.

IActiveScriptSite::OnEnterScript

Informs the host that the scripting engine has begun executing the script code.

IActiveScriptSite::OnLeaveScript

Informs the host that the scripting engine has returned from executing script code.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.