ActiveXperts Scripting Toolkit
IT管理员和软件开发人员无需借用Windows 脚本宿主就可以调用VBScript。
ActiveXperts Scripting Toolkit 可以直接同操作系统上的VBScript引擎进行通信。同Windows脚本宿主相比,使用ActiveXperts Scripting Toolkit的优势体现在:
直接在代码内使用函数结果,无需重新定向标准错误和标准输出;
无需编写stub代码,直接调用函数——函数完成后,可以直接使用函数结果;动态传递函数参数——直接从您自己的程序或脚本内传递函数参数;
设置终止时间,以防函数无限循环运行;
截取那些会影响Windows 脚本宿主的程序错误;
定制错误信息;
支持Windows服务,直接从Windows服务内调用VBScript函数;
ActiveXperts Scripting Toolkit 是一个ActiveX/COM组件,为那些希望将VBScript集成到其软件内部的公司提供易于使用的脚本界面。其特性包括:
直接调用函数;
最多传递8个参数;
全面的函数返回信息;
全面的脚本完成信息;
设置终止时间,防止脚本无限期运行;
强大的脚步支持——截取那些会导致子系统崩溃的问题脚本;
线程安全性——工具箱可用于多线程(和多处理)环境内;
支持Window服务;
高级的错误处理能力;
高级日志能力。
ActiveXperts Scripting Toolkit可运行于下列操作系统:
Windows 98 和 Windows ME;
Windows NT4;
Windows 2000;
Windows XP;
Windows 2000;
Windows 2003.
ActiveXpert Scripting Toolkit为多种开发工具提供范例,包括:
Visual Basic .NET - 基于Windows .NET的程序;
Visual C# .NET - 基于Windows .NET的程序;
Visual Basic 5.x 或更高 - 基于Windows的程序;
Visual C++ 5.x 或更高 - 基于Windows的程序;
ASP - 基于Web站点的Active Server页面;
ASP .NET - 基于Web站点的Active Server页面和.NET Framework;
VBScript - 基于Windows的脚本;
支持ActiveX/COM组件的任意其他开发平台.
由于多线程结构体系,模块性能极为突出。
结构体系:
ActiveXperts Scripting Toolkit充分利用了Microsoft VBScript 引擎。该工具箱仅仅是使用该引擎,并不替换该引擎的任意组件。
ActiveXperts Scripting Toolkit内核含有一个文件:
AxScript.dll——真正的ActiveX/COM 组件。
ActiveXperts Scripting Toolkit可以轻松分布到多个PC上。购买许可证后,即可以将AxScript.dll 复制到PC机上,并在该PC机上注册该DLL。
Product Overview
ActiveXperts Scripting Toolkit enables IT administrators and Software Developers to call VBScript functions without invoking the ’Windows Scripting Host’.
Usually, you call VBScript programs by invoking the ’Windows Script Host’ (either WSCRIPT.EXE or CSCRIPT.EXE). The ActiveXperts Scripting Toolkit directly communicates with the VBScript Engine of the operating system. Some of the benefits of using ActiveXperts Scripting Toolkit instead of using the Windows Scripting Host:
Use the function results directly in your code, without redirecting standard error and standard output;
Call functions directly instead of writing ’stub’ code - the results of the functions are available for direct use after the function completes;
Pass function parameters dynamically - pass the function parameters ’on the fly’, directly from your own application or script;
Set a time-out to prevent functions from running in an endless loop;
Intercept program errors that would normally crash the Windows Scripting Host;
Customize your error messages;
Support for Windows Services - you can call a VBScript function directly from a Windows Service.
ActiveXperts Scripting Toolkit is a ActiveX/COM component, that provides an easy-to-use scripting interface for companies who - somehow - want VBScript integration in their software. ActiveXperts Scripting Toolkit features the following:
Call functions directly;
Pass up to 8 parameters;
Comprehensive Function return information
Comprehensive Script completion information
Ability to set a time-out, preventing scripts from never completing;
Robust script handing - bad scripts that would usually make a sub-system crash are intercepted by the toolkit;
Thread safe - the Toolkit can be used in any multi-threading (and multi-processing) environment;
Support for Windows Services;
Advanced error handling;
Advanced logging.
ActiveXperts Scripting Toolkit runs on the following Operating Systems:
Windows 98 and Windows ME;
Windows NT4;
Windows 2000;
Windows XP;
Windows 2000;
Windows 2003.
ActiveXpert Scripting Toolkit includes samples for many development tools, including:
Visual Basic .NET - Windows .NET based application;
Visual C# .NET - Windows .NET based applications;
Visual Basic 5.x or higher - Windows based applications;
Visual C++ 5.x or higher - Windows based applications;
ASP - Web site based on Active Server Pages;
ASP .NET - Web site based on Active Server Pages and the .NET Framework;
VBScript - Windows based scripts;
Any other development platform that supports ActiveX/COM components.
The performance of the module is outstanding, due to its multi-threaded architecture. It has proven its strength in many business environments over the years.
Architecture
ActiveXperts Scripting Toolkit makes use of the Microsoft VBScript Engine. It only makes use of the engine; it doesn’t replace any VBScript engine components.
The core of ActiveXperts Scripting Toolkit consists of one file:
AxScript.dll - the actual ActiveX/COM component;
ActiveXperts Scripting Toolkit can be distributed easily to many PC’s. Once you have purchased the licenses, you copy the AxScript.dll to the PCs and register the DLL on that PC.