Question:
Which is the VBScript’s version used on E3?
Solution:
E3 uses the version that is installed in the computer (C:\WINDOWS\system32\wscript.exe).
Via E3, you can retrieve the version of VBScript being used by using ScriptEngineMajorVersion, ScriptEngineMinorVersion, and ScriptEngineBuildVersion functions on a button’s Click() event. For example:
Dim varaux
varaux = “”
varaux = ScriptEngine & ” Version “
varaux = varaux & ScriptEngineMajorVersion & “.”
varaux = varaux & ScriptEngineMinorVersion & “.”
varaux = varaux & ScriptEngineBuildVersion
MsgBox varaux