Need Help with VBScript? Try Vbsedit!

Creating a Windows® Script Component (.wsc) file is much like creating any file containing scripts, including HTML files. The following topics provide information about the basic layout of a script component file, as well as information about creating registration information and type libraries.

In This Section

Script Component File Contents

Learn about the XML (Extensible Markup Language) elements required for a script component.

Using The Script Component Wizard

Use the Script Component Wizard to create a script component file.

Creating Registration Information

Create information in the script component file that is used to register it as a COM component.

Exposing Methods

Add methods to your script component.

Exposing Properties

Add properties to your script component.

Exposing Events

Define and fire custom events in your script component.

Creating a Script Component Type Library

Create a type library for your script component so it can be used more easily in the host application.

Referencing Other Components

Include global references to objects you need in your scripts, to external type libraries that provide constants for use in your scripts, or to resources that point to strings or values not hard-coded into your scripts.

Referencing Another Script Component in the Same Package

When including multiple script components in the same package, embed the functionality of one script component inside another.

Checking For Errors in Script Component Files

Add compile-time error checking to your script component.

Script Component Files and XML Conformance

Learn about XML conformance.


Add Scripting to your application with VbsEdit Embedded!


Download Vbsedit Embedded

This package includes VbsEdit Embedded 32-bit and 64-bit.




Home  

Copyright © 2001-2017 Adersoft