VBScript ScriptEngine, ScriptEngineBuildVersion, ScriptEngineMajorVersion, ScriptEngineMinorVersion Functions

## VBScript Tutorial

VB HOME VB How to VB Variables VB Procedures VB Conditional VB Looping VB Summary

## VB Examples

VB Examples

## VB References

VB Functions VB Keywords

# VBScript ScriptEngine, ScriptEngineBuildVersion, ScriptEngineMajorVersion, and ScriptEngineMinorVersion Functions

Complete VBScript Reference

### ScriptEngine Function

The ScriptEngine function returns the scripting language in use.

This function can return one of the following strings:

- VBScript - Indicates that Microsoft Visual Basic Scripting Edition is the current scripting engine
- JScript - Indicates that Microsoft JScript is the current scripting engine
- VBA - Indicates that Microsoft Visual Basic for Applications is the current scripting engine

### ScriptEngineBuildVersion Function

The ScriptEngineBuildVersion function returns the build version number of the scripting engine in use.

### ScriptEngineMajorVersion Function

The ScriptEngineMajorVersion function returns the major version number of the scripting engine in use.

### ScriptEngineMinorVersion Function

The ScriptEngineMinorVersion function returns the minor version number of the scripting engine in use.

### Syntax

ScriptEngine
ScriptEngineBuildVersion
ScriptEngineMajorVersion
ScriptEngineMinorVersion

## Example

<script type="text/vbscript">
document.write(ScriptEngine & "<br />")
document.write(ScriptEngineBuildVersion & "<br />")
document.write(ScriptEngineMajorVersion & "<br />")
document.write(ScriptEngineMinorVersion)
</script>

The output of the code above could be:

VBScript
18702
5
8
Try it yourself »

Complete VBScript Reference

## Your suggestion:

Your E-mail (optional):

Page address:

Description:

Close [X]

## Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

## WEB HOSTING

Best Web Hosting UK Reseller Hosting Wow! $5 SSD Hosting

## WEB BUILDING

Download XML Editor
FREE Website BUILDER FREE Website Creator

## WEB RESOURCES

Web Statistics Web Validation

## SHARE THIS PAGE