Windows Script Components

dzhigner

Moderator
Windows® Script Components provide you with an easy way to create powerful, reusable COM components in script. You create script components using any scripting language that supports the Microsoft® ActiveX® Scripting interfaces. Script languages that support these interfaces include JScript, Microsoft® Visual Basic® Scripting Edition (VBScript), PERLScript, PScript, and Python.

Example: http://forum.corpus4u.org/upload/forum/2005060122295137.zip

In this example, I made kind of a Perl grep thing with WSC scriptlet.

To run this code, Active Perl 5.x (www.activestate.com) and Windows Script 5.6 (http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=c717d943-7e4b-4622-86eb-95a22b832caa) are required.

If you need some info, you can refer to the documentation of Windows script 5.6.

When I did this code, I found it is pretty exciting to do some Perl things in Visual Basic.
 
Back
顶部