Bagikan melalui


VBScript Version Information

The following table lists the version of Microsoft Visual Basic Scripting Edition (VBScript) that is implemented by host applications.

Host application

VBScript version

Internet Explorer 3.0

1.0

Internet Information Server 3.0

2.0

Internet Explorer 4.0

3.0

Internet Information Server 4.0

3.0

Visual Studio 6.0

4.0

Internet Explorer 5.0

5.0

Internet Explorer 5.01

5.1

Windows 2000

5.1

Internet Explorer 5.5

5.5

Internet Explorer 6.0

5.6

Windows XP (through SP2)

5.6

Internet Explorer 7.0

5.7

Windows XP SP3

5.7

Windows Vista

5.7

Internet Explorer 8.0

5.8

Windows 7

5.8

The following table lists VBScript language features and the VBScript version in which they were first introduced.

Language Element

Version first introduced

Abs Function

1.0

Addition Operator (+) (VBScript)

1.0

And Operator

1.0

Array Function

2.0

Asc Function

1.0

Assignment Operator (=) (VBScript)

1.0

Atn Function

1.0

Call Statement

1.0

CBool Function

1.0

CByte Function

1.0

CCur Function

1.0

CDate Function

1.0

CDbl Function

1.0

Chr Function

1.0

CInt Function

1.0

Class Object

5.0

Class Statement (VBScript)

5.0

Clear Method (VBScript)

1.0

CLng Function

1.0

Color Constants

2.0

Comparison Constants

2.0

Comparison Operators (VBScript)

1.0

Concatenation Operator (&)

1.0

Const Statement (VBScript)

2.0

Cos Function

1.0

CreateObject Function

2.0

CSng Function

1.0

CStr Function

1.0

Date and Time Constants

2.0

Date Format Constants

2.0

Date Function

1.0

DateAdd Function

2.0

DateDiff Function

2.0

DatePart Function

2.0

DateSerial Function

1.0

DateValue Function

1.0

Day Function

1.0

Debug Object

3.0

Description Property (VBScript)

1.0

Dim Statement

1.0

Division Operator (/) (VBScript)

1.0

Do...Loop Statement

1.0

Empty Keyword

1.0

Eqv Operator

1.0

Erase Statement

1.0

Err Object (VBScript)

1.0

Escape Function

5.0

Eval Function

5.0

Execute Method

5.0

Execute Statement

5.0

ExecuteGlobal Statement

5.0

Exit Statement

1.0

Exp Function

1.0

Exponentiation Operator (^)

1.0

False (Windows Script Technologies)

1.0

Filter Function

2.0

FirstIndex Property

5.0

Int, Fix Functions

1.0

For...Next Statement

1.0

For Each...Next Statement

2.0

FormatCurrency Function

2.0

FormatDateTime Function

2.0

FormatNumber Function

2.0

FormatPercent Function

2.0

Function Statement (VBScript)

1.0

GetLocale Function

5.0

GetObject Function

2.0

GetRef Function

5.0

Global Property (VBScript)

5.0

Hex Function

1.0

HelpContext Property

2.0

HelpFile Property (VBScript)

2.0

Hour Function

1.0

If...Then...Else Statement

1.0

IgnoreCase Property (VBScript)

5.0

Imp Operator

1.0

Initialize Event

5.0

InputBox Function

1.0

InStr Function

1.0

InStrRev Function

2.0

Int, Fix Functions

1.0

Integer Division Operator (\)

1.0

Is Operator

1.0

IsArray Function

1.0

IsDate Function

1.0

IsEmpty Function

1.0

IsNull Function

1.0

IsNumeric Function

1.0

IsObject Function

1.0

Join Function

2.0

LBound Function

1.0

LCase Function

1.0

Left Function

1.0

Len Function

1.0

Length Property

5.0

LoadPicture Function

2.0

Log Function

1.0

LTrim; RTrim; and Trim Functions

1.0

Match Object

5.0

Matches Collection

5.0

Mid Function

1.0

Minute Function (VBScript)

1.0

Miscellaneous Constants

2.0

Mod Operator

1.0

Month Function

1.0

MonthName Function

2.0

MsgBox Constants

2.0

MsgBox Function

1.0

Multiplication Operator (*) (VBScript)

1.0

Subtraction Operator (-) (VBScript)

1.0

Not Operator

1.0

Now Function

1.0

Nothing Keyword

1.0

Null Keyword

1.0

Number Property (VBScript)

1.0

Oct Function (VBScript)

1.0

On Error Statement

1.0

Option Explicit Statement

1.0

Or Operator

1.0

Pattern Property

5.0

Private Statement

2.0

Property Get Statement

5.0

Property Let Statement

5.0

Property Set Statement

5.0

Public Statement

2.0

Raise Method

1.0

Randomize Statement

1.0

ReDim Statement

1.0

Regular Expression (RegExp) Object

5.0

Rem Statement

1.0

Replace Function

2.0

Replace Method (VBScript)

5.0

RGB Function

2.0

Right Function

1.0

Rnd Function

1.0

Round Function

2.0

LTrim; RTrim; and Trim Functions

1.0

ScriptEngine Function

2.0

ScriptEngineBuildVersion Function

2.0

ScriptEngineMajorVersion Function

2.0

ScriptEngineMinorVersion Function

2.0

Second Function

1.0

Select Case Statement

1.0

Set Statement

1.0

SetLocale Function

5.0

Sgn Function

1.0

Sin Function

1.0

Source Property (VBScript)

1.0

Space Function

1.0

Split Function

2.0

Sqr Function

1.0

Stop Statement

3.0

StrComp Function

1.0

String Constants

2.0

String Function

1.0

StrReverse Function

2.0

Sub Statement

1.0

SubMatches Collection

5.5

Subtraction Operator (-) (VBScript)

1.0

Tan Function

1.0

Terminate Event

5.0

Test Method (VBScript)

5.0

Time Function

1.0

Timer Function

5.0

TimeSerial Function

1.0

TimeValue Function

1.0

LTrim; RTrim; and Trim Functions

1.0

Tristate Constants

2.0

True Keyword

1.0

TypeName Function

2.0

UBound Function

1.0

UCase Function

1.0

Unescape Function

5.0

Value Property (VBScript)

5.0

VarType Constants

2.0

VarType Function

1.0

Constants (VBScript)

2.0

Weekday Function

1.0

WeekdayName Function

2.0

While...Wend Statement

1.0

With Statement (VBScript)

5.0

Write Method

3.0

WriteLine Method

3.0

Xor Operator

1.0

Year Function

1.0

Change History

Date

History

Reason

March 2009

Updated and reformatted host application table.

Content bug fix.