Share via


Using the ScriptControl

Using the ScriptControl is merely a matter of adding the control to your program, defining the objects the script programs can access, and then running the scripts as needed.

Before we go any further, I should warn you that using the ScriptControl is not for everyone. The ScriptControl is one of the least-documented controls available in Visual Basic. Most of the documentation for MSScript and VBScript was developed for people building web applications. You can incorporate the ScriptControl into your own programs, but expect to spend some time getting the feel of this control and its quirks. Also, be sure to save your programs (both Visual Basic and VBScript) often.

© 1998 SYBEX Inc. All rights reserved.