This exposes your applications object model and makes your application scriptable. Retrieve error information when an error occurs in your script code. Script Control Methods, Properties and Events Property Description AllowUI Sets or returns a Boolean value indicating whether a running script, or the ScriptControl itself, can display user-interface elements. For example, in VBScript if AllowUI is False, the MsgBox statement will not work. CodeObject Returns an object that is used to call public members of a specified module Column Returns the column indicating the approximate place in the scripting code where an error occurred.
Description Returns a short descriptive error message.
Language Tells the Script Control to use the specified language. The default is VBScript but it can be JScript. Line Returns the line indicating the place in scripting code where an error occurred. NumArgs Returns the number of arguments required by a procedure. Number Returns a numeric value specifying a run-time error.