My Little Script Host

This is a small demonstration of how a VB 6.0 program can use the Microsoft Script Control to allow user scripts to manipulate and automate the program through exposed objects.  This demo takes the form of a simple IDE and runtime environment.

You might want to include such an "IDE" in your own Script Control programs to allow users to write and manage scripts from within your programs.  This demo IDE is fairly limited, offering little more than Notepad does.  A "real" IDE might offer keyword colorization, command completion, a link to VBScript Help, etc.


My Little Script Host provides a global MLSH object, which can be used to perform a number of small utility functions via several methods:

Cls()
    Clears the My Little Script Host output window.

Pause()
    Pauses script execution and presents a small dialog box that awaits a go-ahead from the user before proceeding.

Prt(<text string>)
    Prints the <text string> expression in the output window without a new line.

PrtLine(<text string>)
    Prints the <text string> expression in the output window and advances to the next line.

Status(<text string>)
    Prints the <text string> expression into the status line of the My Little Script Host window.


A "real" Script Control program would expose application-related objects, properties, and methods to your user's scripts.