Windows Script Components  

Checking For Errors in Script Component Files

Because Windows® Script Components are used as COM components, they normally run silently. However, while you are developing your script component file, you might find it useful to know about errors in the file. You can specify three types of error checking:

Setting Error Options

Specify error options as attributes of the XML <?component?> processing instruction.

To specify error checking

For example, the following enables all three error reporting options:

<?component error="true" debug="true"?>
Tip   Turn error reporting off before deploying your script component to a production environment.

See Also

Script Component File Contents | Using The Script Component Wizard | Creating Registration Information | Creating a Script Component Type Library | Script Component Files and XML Conformance