O'Reilly logo

VB.NET Language in a Nutshell, Second Edition by Steven Roman PhD, Paul Lomax, Ron Petrusha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

ScriptEngineMinorVersion Property

Class

Microsoft.VisualBasic.Globals

Syntax

ScriptEngineMinorVersion

Return Value

An Integer containing the minor version number

Description

Indicates the minor version (the number to the right of the decimal point) of the programming language currently in use

Programming Tips and Gotchas

  • This property is implemented as a function in the JScript scripting engine.

  • If your script requires some functionality available in a baseline minor version, ordinarily you would want to make sure that the script is running on that version or a later version. Test for a minor version with a code fragment like:

    Dim iMajor As Integer = ScriptEngineMajorVersion(  )
    Dim iMinor As Integer = ScriptEngineMinorVersion(  )
    If (lMajor = x And lMinor >= y) Or (lMajor > x) Then
       ...

VB.NET/VB 6 Differences

This property is new to VB.NET.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required