EzScript Scripting Component 1.1
he Incredible ScriptObject
Microsoft has produced many good technologies. One of most powerful, yet easy to use has been ASP (Active Server Pages) webserver. This technology uses Active Scripting languages (now named Windows Scripting) to enable just about anyone to create a dynamically-generated webpage in a couple of minutes. The two most commonly used languages are VBScript and JScript (Javascript work-alike). Another great technology is COM. Most Windows programming languages support COM.
We have combined these technologies into an ASP-like COM object. With EzScript, you can create "script pages" much like ASP pages. These pages can be pure script code, or can have plain text intermixed with the code, just like ASP. This is what makes the ScriptObject so powerful and versatile.
EzScript is a COM DLL. The main object - the ScriptObject - is a scriptable COM object that executes script using one of the Windows Script engines. You can use it directly in any COM-aware programming language, such as VB, C++, .NET, Delphi, etc. EzScript runs any of the various Windows Scripting Engines, eg. VBScript or JScript. EzScript initializes the script engine and runs script files, or script passed as a string parameter. BUT!...EzScript also works like the Microsoft ASP webserver engine, and parses script intermixed with text, giving you the ability to create HTML/XML and other documents the same way you would with an ASP page. It uses the same <%...%> delimiter tags as does ASP, so you could write a script to output the text "Scripting is easy with EzScript" like this:
Scripting is <%="easy"%> with EzScript
Not only that, EzScript also supports the familiar ASP <--#include...--> and @ Language= statements, so you can include other files that contain your utility functions, and specify the script language programmatically from the script.