Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

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.
Example:
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
Notes:
You may also read this MSDN page:
http://msdn.microsoft.com/en-us/library/ms756007%28VS.85%29.aspx

ScriptControl from Microsoft is 32-bit only. If you need 64-bit, please install a 64-bit alternative MSScript.ocx file:
http://www.eonet.ne.jp/~gakana/tablacus/scriptcontrol_en.html

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:


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


WindowsScriptErrorMBS   -   WindowsSerialPortsMBS





Links
MBS Xojo Chart Plugins