Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsScriptErrorExceptionMBS class

Super class: RuntimeException

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Windows MBS Win Plugin 10.0 No Yes No Yes, Windows only No
Function: The exception class raised when an error happens while executing a script.
dim w as new WindowsScriptMBS

w.Language = "VBScript"

w.AddCode "a = 1"
w.AddCode "b = 2"

w.AllowUI = false
w.ExecuteStatement "msgbox a+b" // shows exception with access denied

Exception e as WindowsScriptErrorExceptionMBS
MsgBox e.message
Notes: Subclass of the RuntimeException class.

Feedback, Comments & Corrections

This class has no sub classes.

The items on this page are in the following plugins: MBS Win Plugin.

WindowsQOSMBS   -   WindowsScriptErrorMBS

MBS Xojo Plugins