KB-31560: VBScript’s version used in E3.

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

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *