Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Using the ScriptControl

Using the ScriptControl

Visual Studio 6.0

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.

Show:
© 2015 Microsoft