Microsoft® Windows® Script Interfaces
 Language Reference

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.

Methods in Vtable Order

InitNew Initializes the scripting engine.
AddScriptlet Adds a code scriptlet to the script.
ParseScriptText Parses the given code scriptlet, adding declarations into the name space and evaluating code as appropriate.