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 IActiveScriptParse32 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 |
---|---|
Adds a code scriptlet to the script. | |
Initializes the scripting engine. | |
Parses the given code scriptlet, adding declarations into the name space and evaluating code as appropriate. |