IActiveScriptParse

IActiveScriptParse

 

If the Windows Script engine allows raw text code scriptlets to be added to the script or allows expression text to be evaluated at run time, it implements the IActiveScriptParse interface. For interpreted scripting languages that have no independent authoring environment, such as VBScript, this provides an alternate mechanism (other than IPersist*) to get script code into the scripting engine, and to attach script fragments to various object events.

Method

Description

IActiveScriptParse::InitNew  

Initializes the scripting engine.

IActiveScriptParse::AddScriptlet  

Adds a code scriptlet to the script.

IActiveScriptParse::ParseScriptText 

Parses the given code scriptlet, adding declarations into the name space and evaluating code as appropriate.

Show:
© 2016 Microsoft