Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsScriptMBS class

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 class to run Windows Scripts.
dim w as new WindowsScriptMBS

w.Language = "JScript"
w.AddCode "function Test(a,b) { return a+b; }"

dim p(-1) as string = array("Hello ", "World from JavaScript")
dim x as string = w.Run("Test", p)

MsgBox x
You may also read this MSDN page:

ScriptControl from Microsoft is 32-bit only. If you need 64-bit, please install a 64-bit alternative MSScript.ocx file:

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:

Blog Entries

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

WindowsScriptErrorMBS   -   WindowsSerialPortsMBS

The biggest plugin in space...

MBS Xojo tutorial videos