📄 vbstoc.txt
字号:
VBScript 语言参考
"
document.writeln "Sub DisplayTopic(ByVal URL)"
document.writeln "Window.Open URL, ""_self"""
document.writeln "End Sub"
document.writeln ""
End Sub
-->
');
document.writeln('function Form1_onclick(){');
document.writeln('DisplayTopic(window.event.srcElement.options[window.event.srcElement.selectedIndex].value);');
document.writeln('}');
document.writeln('function displayTopic(url){');
document.writeln('window.open(url, "_self");');
document.writeln('}');
document.writeln('');
}
function DoVBScript( )
{
writeVBScript();
}
if (navigator.appName != "Microsoft Internet Explorer"){
browser = 0;
DoJavaScript( );
}
else {
browser = 1;
DoVBScript( );
}
// -->
Microsoft® Visual Basic® Scripting Edition
VBScript 语言参考
VBScript 教程
版本信息
特性信息
VBScript 特性
未包含在 VBScript 中的 VBA 特性
未包含在 VBA 中的 VBScript 特性
' );
}
else {
document.write('');
}
// -->
关键字列表
(按字母顺序)
Abs 函数
Add 方法
AddFolders 方法
加法运算符 (+)
And 运算符
Array 函数
Asc 函数
AtEndOfLine 属性
AtEndOfStream 属性
Atn 函数
Attributes 属性
AvailableSpace 属性
BuildPath 方法
Call 语句
CBool 函数
CByte 函数
CCur 函数
CDate 函数
CDec 函数-->
CDbl 函数
Chr 函数
CInt 函数
Clear 方法
CLng 函数
Close 方法
Column 属性
CompareMode 属性
连接运算符 (&)
Const 语句
Copy 方法
CopyFile 方法
CopyFolder 方法
Cos 函数
Count 属性
CreateFolder 方法
CreateObject 函数
CreateTextFile 方法
CSng 函数
CStr 函数
Date 函数
DateAdd 函数
DateCreated 属性
DateDiff 函数
DateLastAccessed 属性
DateLastModified 属性
DatePart 函数
DateSerial 函数
DateValue 函数
Day 函数
Delete 方法
DeleteFile 方法
DeleteFolder 方法
Description 属性
Dictionary 对象
Dim 语句
除法运算符 (/)
Do...Loop 语句
Drive 对象
Drive 属性
DriveExists 方法
DriveLetter 属性
Drives 集合
Drives 属性
DriveType 属性
Empty
Eqv 运算符
Erase 语句
Err 对象
Exists 方法
Exit 语句
Exp 函数
求幂运算符 (^)
False
FileExists 方法
File 对象
Files 集合
Files 属性
FileSystemObject 对象
FileSystem 属性
Filter 函数
Fix 函数
Folder 对象
Folders 集合
FolderExists 方法
For...Next 语句
For Each...Next 语句
FormatCurrency 函数
FormatDateTime 函数
FormatNumber 函数
FormatPercent 函数
FreeSpace 属性
Function 语句
GetAbsolutePathName 方法
GetBaseName 方法
GetDrive 方法
GetDriveName 方法
GetExtensionName 方法
GetFile 方法
GetFileName 方法
GetFolder 方法
GetObject 函数
GetParentFolderName 方法
GetSpecialFolder 方法
GetTempName 方法
Hex 函数
HelpContext 属性
HelpFile 属性
Hour 函数
If...Then...Else 语句
Imp 运算符
InputBox 函数
InStr 函数
InStrRev 函数
Int 函数
整数除法运算符 (\)
Is 运算符
IsArray 函数
IsDate 函数
IsEmpty 函数
IsNull 函数
IsNumeric 函数
IsObject 函数
IsReady 属性
IsRootFolder 属性
Item 属性
Items 方法
Join 函数
Key 属性
Keys 方法
LBound 函数
LCase 函数
Left 函数
Len 函数
Line 属性
LoadPicture 函数
Log 函数
LTrim 函数
Mid 函数
Minute 函数
Mod 运算符
Month 函数
MonthName 函数
Move 方法
MoveFile 方法
MoveFolder 方法
MsgBox 函数
乘法运算符 (*)
Name 属性
求负运算符 (-)
Not 运算符
Now 函数
Nothing
Null
Number 属性
Oct 函数
On Error 语句
OpenAsTextStream 方法
OpenTextFile 方法
运算符优先级
Option Explicit 语句
Or 运算符
ParentFolder 属性
Path 属性
Private 语句
Public 语句
Raise 方法
Randomize 语句
Read 方法
ReadAll 方法
ReadLine 方法
ReDim 语句
Rem 语句
Remove 方法
RemoveAll 方法
Replace 函数
RGB 函数
Right 函数
Rnd 函数
RootFolder 属性
Round 函数
RTrim 函数
ScriptEngine 函数
ScriptEngineBuildVersion 函数
ScriptEngineMajorVersion 函数
ScriptEngineMinorVersion 函数
Second 函数
Select Case 语句
SerialNumber 属性
Set 语句
Sgn 函数
ShareName 属性
ShortName 属性
ShortPath 属性
Sin 函数
Size 属性
Skip 方法
SkipLine 方法
Source 属性
Space 函数
Split 函数
Sqr 函数
StrComp 函数
String 函数
StrReverse 函数
Sub 语句
SubFolders 属性
减法运算符 (-)
Tan 函数
Time 函数
TextStream 对象
TimeSerial 函数
TimeValue 函数
TotalSize 属性
Trim 函数
True
Type 属性
TypeName 函数
UBound 函数
UCase 函数
VarType 函数
VolumeName 属性
Weekday 函数
WeekdayName 函数
While...Wend 语句
Write 方法
WriteBlankLines 方法
WriteLine 方法
Xor 运算符
Year 函数
' );
}
else {
document.write('');
}
// -->
常数
颜色常数
比较常数
日期格式常数
日期和时间常数
DriveType 常数
FileAttributes 常数
文件输入/输出常数
其他常数
MsgBox 常数
SpecialFolder 常数
字符串常数
Tristate 常数
VarType 常数
' );
}
else {
document.write('');
}
// -->
函数
Abs 函数
Array 函数
Asc 函数
Atn 函数
CBool 函数
CByte 函数
CCur 函数
CDate 函数
CDbl 函数
CDec 函数-->
Chr 函数
CInt 函数
CLng 函数
Cos 函数
CreateObject 函数
CSng 函数
CStr 函数
Date 函数
DateAdd 函数
DateDiff 函数
DatePart 函数
DateSerial 函数
DateValue 函数
Day 函数
Exp 函数
Filter 函数
Fix 函数
FormatCurrency 函数
FormatDateTime 函数
FormatNumber 函数
FormatPercent 函数
GetObject 函数
Hex 函数
Hour 函数
InputBox 函数
InStr 函数
InStrRev 函数
Int 函数
IsArray 函数
IsDate 函数
IsEmpty 函数
IsNull 函数
IsNumeric 函数
IsObject 函数
Join 函数
LBound 函数
LCase 函数
Left 函数
Len 函数
LoadPicture 函数
Log 函数
LTrim 函数
Mid 函数
Minute 函数
Month 函数
MonthName 函数
MsgBox 函数
Now 函数
Oct 函数
Replace 函数
RGB 函数
Right 函数
Rnd 函数
Round 函数
RTrim 函数
ScriptEngine 函数
ScriptEngineBuildVersion 函数
ScriptEngineMajorVersion 函数
ScriptEngineMinorVersion 函数
Second 函数
Sgn 函数
Sin 函数
Space 函数
Split 函数
Sqr 函数
StrComp 函数
String 函数
StrReverse 函数
Tan 函数
Time 函数
TimeSerial 函数
TimeValue 函数
Trim 函数
TypeName 函数
UBound 函数
UCase 函数
VarType 函数
Weekday 函数
WeekdayName 函数
Year 函数
' );
}
else {
document.write('');
}
// -->
方法
Add 方法
AddFolders 方法
BuildPath 方法
Clear 方法
Close 方法
Copy 方法
CopyFile 方法
CopyFolder 方法
CreateFolder 方法
CreateTextFile 方法
Delete 方法
DeleteFile 方法
DeleteFolder 方法
DriveExists 方法
Exists 方法
File 方法
FileExists 方法
Folder 方法
FolderExists 方法
GetAbsolutePathName 方法
GetBaseName 方法
GetDrive 方法
GetDriveName 方法
GetExtensionName 方法
GetFile 方法
GetFileName 方法
GetFolder 方法
GetParentFolderName 方法
GetSpecialFolder 方法
GetTempName 方法
Items 方法
Keys 方法
Move 方法
MoveFile 方法
MoveFolder 方法
OpenAsTextStream 方法
OpenTextFile 方法
Raise 方法
Read 方法
ReadAll 方法
ReadLine 方法
Remove 方法
RemoveAll 方法
Skip 方法
SkipLine 方法
Write 方法
WriteBlankLines 方法
WriteLine 方法
' );
}
else {
document.write('');
}
// -->
对象
Dictionary 对象
Drive 对象
Drives 集合
Err 对象
File 对象
Files 集合
FileSystemObject 对象
Folder 对象
Folders 集合
TextStream 对象
' );
}
else {
document.write('');
}
// -->
运算符
加法运算符 (+)
And 运算符
连接运算符 (&)
除法运算符 (/)
Eqv 运算符
求幂运算符 (^)
Imp 运算符
整数除法运算符 (\)
Is 运算符
Mod 运算符
乘法运算符 (*)
求负运算符 (-)
Not 运算符
Or 运算符
运算符优先级
减法运算符 (-)
Xor 运算符
' );
}
else {
document.write('');
}
// -->
属性
AtEndOfLine 属性
AtEndOfStream 属性
Attributes 属性
AvailableSpace 属性
Column 属性
CompareMode 属性
Count 属性
DateCreated 属性
DateLastAccessed 属性
DateLastModified 属性
Description 属性
Drive 属性
DriveLetter 属性
Drives 属性
DriveType 属性
Files 属性
FileSystem 属性
FreeSpace 属性
HelpContext 属性
HelpFile 属性
IsReady 属性
IsRootFolder 属性
Item 属性
Line 属性
Name 属性
Number 属性
ParentFolder 属性
Path 属性
RootFolder 属性
SerialNumber 属性
ShareName 属性
ShortName 属性
ShortPath 属性
Size 属性
Source 属性
SubFolders 属性
TotalSize 属性
Type 属性
VolumeName 属性
' );
}
else {
document.write('');
}
// -->
语句
Call 语句
Const 语句
Dim 语句
Do...Loop 语句
Erase 语句
Exit 语句
For...Next 语句
For Each...Next 语句
Function 语句
If...Then...Else 语句
On Error 语句
Option Explicit 语句
Private 语句
Public 语句
Randomize 语句
ReDim 语句
Rem 语句
Select Case 语句
Set 语句
Sub 语句
While...Wend 语句
' );
}
else {
document.write('');
}
// -->