Sideway BICK BlogSideway BICK BLOG from Sideway

A Sideway to Sideway Home

Link:http://output.to/sideway/default.asp?qno=121200005

Script, Scripting Language, VBScript elements, Server-Side VBScript

VBScript Elements

Basic
Character Set#1
English Alphabet Capital Letters
English Alphabet Small Letters
Arabic numerals
Special Symbols of ASCII
Control Characters
Reserved Keywords / Contextual Keywords#2
VBScript Reserved KeyWords ASP Reserved Keywords
Reserved Constants/Literals#3
Intrinsic Constants Constants/Literals: Empty False Nothing Null True
Data Types
Variant Variant Subtypes: Empty Null Boolean Byte Integer Currency Long Single Double Date (Time) String Object Error
Errors
VBScript Run-time Errors VBScript Syntax Errors
Operator
Arithmetic Operators
+(Addition)   /(Division)   ^(Exponentiation)  \(Integer Division)  Mod(Modulus arithmetic)  *(Multiplication)  -(Negation)  -(Subtraction) 
Assignment Operator
=(Assignment)
Comparison Operators
=(Equality) >(Greater Than) >=(Greater Than or Equal To) <>(Inequality) <(Less than) <=(Less than or Equal To) Is(Obect Equivalence)
Concatenation Operators
&(String concatenation)
Logical Operators
And(Logical Conjunction) Or(Logical Disjunction) Eqv(Logical Equivalence) Xor(Logical Exclusion) Imp(Logical Implication) Not(Logical Negation)
Function
Array handling
Array  Dim  Erase  IsArray LBound  Private  Public ReDim  UBound 
Conversions
Abs Asc AscB AscW CBool CByte CCur CDate CDbl Chr ChrB ChrW CInt CLng CSng CStr DateSerial DateValue Fix Hex Int Oct Sgn TimeSerial TimeValue
Dates/Times
Date DateAdd DateDiff DatePart DateSerial DateValue Day Hour Minute Month MonthName Now Second Time TimeSerial TimeValue Weekday WeekdayName Year
Expressions
Eval Execute RegExp Replace Test
Formatting Strings
FormatCurrency FormatDateTime FormatNumber FormatPercent
Input/Output
InputBox LoadPicture MsgBox
Math
Atn Cos Exp Log Randomize Rnd Sin Sqr Tan
Miscellaneous
Eval RGB
Rounding
Abs Fix Int Round Sgn
Script Engine ID
ScriptEngine ScriptEngineBuildVersion ScriptEngineMajorVersion ScriptEngineMinorVersion
Strings
Asc AscB AscW Chr ChrB ChrW Filter InStr InStrB InStrRev Join LCase Len LenB Left LeftB LTrim Mid MidB Replace Right RightB RTrim Space Split StrComp String StrReverse Trim UCase
Variants
IsArray IsDate IsEmpty IsNull IsNumeric IsObject TypeName VarType
Statement
Assignments
Set 
Comments
'(Rem) Rem
Repeating Block
Do...Loop For...Next For Each...Next Select Case While...Wend With
Conditional Block
If...Then...Else Select Case While...Wend With
Declarations
Class Const Dim Function Private Property Get Property Let Property Set Public ReDim Sub
Error Handling
Err On Error
Expressions
Eval Execute RegExp Replace Test
Miscellaneous
Execute
Procedures
Call Function Property Get Property Let Property Set Sub
Object
Collections
Methods
Properties
Events
Object
Class Object
 
 
Initial Event
Terminate Event
Debug Object
Write Method
WriteLine Method
 
 
Dictionary Object
Add Method
Exists Method
Items Method
Keys Method
Remove Method
RemoveAll Method
Count Property
Item Property
Key Property
CompareMode Property
 
Err Object
Clear Method
Rause Method
Description Property
HelpContext Property
HelpFile Property
Number Property
Source Property
 
FileSystemObject Object
BuildPath Method
CopyFile Method
CopyFolder Method
CreateFolder Method
CreateTextFile Method
DeleteFile Method
DeleteFolder Method
DriveExists Method
FileExists Method
FolderExists Method
GetAbsolutePathName Method
GetBaseName Method
GetDrive Method
GetDriveName Method
GetExtensionName Method
GetFile Method
GetFileVersion Method
GetFileName Method
GetFolder Method
GetParentFolderName Method
GetSpecialFolder Method
GetStandardStream Method
GetTempName Method
MoveFile Method
MoveFolder Method
OpenTextFile Method
Drives Property
 
Drives Collection
 
Count Property
Item Property
 
Drive Object
 
AvailableSpace Property
DriveLetter Property
DriveType Property
FileSystem Property
FreeSpace Property
IsReady Property
Path Property
RootFolder Property
SerialNumber Property
ShareName Property
TotalSize Property
Volume Property
 
Folders Collection
Add Method
Count Property
Item Property
 
Folder Object
Copy Method
Delete Method
Move Method
CreateTextFile Method
Attributes Property
DateCreated Property
DateLastAccessed Property
DateLastModified Property
Drive Property
Files Property
IsRootFolder Property
Name Property
ParentFolder Property
Path Property
ShortName Property
ShortPath Property
Size Property
SubFolders Property
Type Property
 
Files Collection
 
Count Property
Item Property
 
File Object
Copy Method
Delete Method
Move Method
OpenTextStream Method
Attributes Property
DateCreated Property
DateLastAccessed Property
DateLastModified Property
Drive Property
Name Property
ParentFolder Property
Path Property
ShortName Property
ShortPath Property
Size Property
Type Property
 
TextStream Object
Close Method
Read Method
ReadAll Method
ReadLine Method
Skip Method
SkipLine Method
Write Method
WriteBlankLines Method
WriteLine Method
Attributes Property
DateCreated Property
DateLastAccessed Property
DateLastModified Property
Drive Property
Name Property
ParentFolder Property
Path Property
ShortName Property
ShortPath Property
Size Property
Type Property
 
RegExp Object
Execute Method
Replace Method
Text Method
Global Property
IgnoreCase Property
Pattern Property
 
Matches Collection
 
Count Property
Item Property
 
Match Object
 
FirstIndex Property
Length Property
Value Property
SubMatches Property
 
SubMatches Collection
 
Count Property
Item Property
 

#1 Character Set

  1. Englisht Alphabet Capital Letters: A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z
  2. Englisht Alphabet Small Letters: a  b  c  d  e  f  g  h  i  j  k  l  m  n  o  p  q  r  s  t  u  v  w  x  y  z
  3. Arabic numerals: 0  1  2  3  4  5  6  7  8  9
  4. Special Symbols of ASCII Symbols:  (space) !(exclamation mark) "(quotation mark) #(number sign) $(dollar sign) %(percent sign) &(ampersand) '(apostrophe) ((left parenthesis) )(right parenthesis) *(asterisk) +(plus) ,(comma) -(hyphen-minus) .(period-full stop) /(solidus-slash) :(colon) ;(semicolon) <(less-than sign - left angle bracket) =(equals) >(greater-than sign - right angle bracket) ?(question mark) @(commerial at sign) [(left square bracket) \(reverse solidus-backslash) ](right square bracket) ^(circumflex accent) _(low line - underline) `(grave accent) {(left curly bracket - left brace) |(vertical line - vertical bar) }(right curly bracket - right brace) ~(tilde)
  5. Control Characters: Chr(8) backspace, Chr(9) horizontal tab, Chr(10) linefeed, and Chr(13) carriage return

#2 Reserved Keywords / Contextual Keywords

  1. VBScript Reserved KeyWords:    &(String concatenation)   -(Negation)   '(Rem)   -(Subtraction)   *(Multiplication)   /(Division)   \(Integer Division)   ^(Exponentiation)   <(Less Than)   <=(Less Than or Equal To)   <>(Inequality)   =(Equality)   =+(Addition)   >(Greater Than)   >=(Greater Than or Equal To)   Abs   And   Array   Asc   AscB   AscW   Atn   Call Function   CBool   CByte   CCur   CDate   CDbl   Chr   ChrB   ChrW   CInt   Class   CLng   Const   Cos   CreateObject   CSng   CStr   Date   DateAdd   DateDiff   DatePart   DateSerial   DateValue   Day   Dim   Do...Loop   Empty   Eqv   Erase   Err   Eval   Execute   Exp   False   Filter   Fix   For Each...Next   For...Next   FormatCurrency   FormatDateTime   FormatNumber   FormatPercent   Function   GetObject   Hex   Hour   If...Then...Else   Imp   InputBox   InStr   InStrB   InStrRev   Int   Is   IsArray   IsDate   IsEmpty   IsNull   IsNumeric   IsObject   Join   LBound   LCase   Left   LeftB   Len   LenB   LoadPicture   Log   LTrim   Mid   MidB   Minute   Mod(Modulus arithmetic)   Month   MonthName   MsgBox   Nothing   Now   Null   Oct   On Error   Option Explicit   Or   Private   Property Get   Property Let   Property Set   Public   Randomize   ReDim   RegExp   Rem   Replace   RGB   Right   RightB   Rnd   Round   RTrim   ScriptEngine   ScriptEngineBuildVersion   ScriptEngineMajorVersion   ScriptEngineMinorVersion   Second   Select Case   Set   Sgn   Sin   Space   Split   Sqr   StrComp   String   StrReverse   Sub   Tan   Test   Time   TimeSerial   TimeValue   Trim   True   TypeName   UBound   UCase   VarType   Weekday   WeekdayName   While...Wend   With   Xor   Year  
  2. ASP Reserved Keywords: @CODEPAGE  @ENABLESESSIONSTATE  @LANGUAGE  @LCID  @TRANSACTION  Abandon  AddHeader  AppendToLog  Application  Application_OnEnd  Application_OnStart  ASPCode  ASPDescription  ASPError  BinaryRead  BinaryWrite  Buffer  CacheControl  Category  Charset  Clear  ClientCertificate  CodePage  Column  Contents  ContentType  Cookies  CreateObject  Description  End  Execute  Expires  ExpiresAbsolute  File  Flush  Form  GetLastError  HTMLEncode  IsClientConnected  LCID  Line  Lock  MapPath  Number  ObjectContext  OnEndPage  OnStartPage  OnTransactionAbort  OnTransactionCommit  PICS  QueryString  Redirect  Remove  RemoveAll  Request  Response  ScriptTimeout  Server  ServerVariables  Session  Session_OnEnd  Session_OnStart  SessionID  SetAbort  SetComplete  Source  StaticObjects  Status  Timeout  TotalBytes  Transfer  Unlock  URLEncode  Write 

#3 Reserved Constants/Literals

  1.  Intrinsic Constants: vbAbort   vbAbortRetryIgnore   vbApplicationModal   vbArchive   vbArray   vbBack   vbBinaryCompare   vbBlack   vbBlue   vbBoolean   vbByte   vbCancel   vbCr   vbCritical   vbCrLf   vbCurrency   vbCyan   vbDataObject   vbDate   vbDecimal   vbDefaultButton1   vbDefaultButton2   vbDefaultButton3   vbDefaultButton4   vbDirectory   vbDouble   vbEmpty   vbError   vbExclamation   vbFalse   vbFirstFourDays   vbFirstFullWeek   vbFirstJan1   vbFormFeed   vbFriday   vbGeneralDate   vbGet   vbGreen   vbHidden   vbHide   vbHiragana   vbIgnore   vbInformation   vbInteger   vbKatakana   vbLet   vbLf   vbLinguisticCasing   vbLong   vbLongDate   vbLongTime   vbLowerCase   vbMagenta   vbMaximizedFocus   vbMethod   vbMinimizedFocus   vbMinimizedNoFocus   vbMonday   vbMsgBoxHelp   vbMsgBoxRight   vbMsgBoxRtlReading   vbMsgBoxSetForeground   vbNarrow   vbNewLine   vbNo   vbNormal   vbNormalFocus   vbNormalNoFocus   vbNull   vbNullChar   vbNullString   vbObject   vbObjectError   vbOK   vbOKCancel   vbOKOnly   vbProperCase   vbQuestion   vbReadOnly   vbRed   vbRetry   vbRetryCancel   vbSaturday   vbSet   vbShortDate   vbShortTime   vbSimplifiedChinese   vbSingle   vbString   vbSunday   vbSystem   vbSystemModal   vbTab   vbTextCompare   vbThursday   vbTraditionalChinese   vbTrue   vbTuesday   vbUpperCase   vbUseDefault   vbUserDefinedType   vbUseSystem   vbUseSystemDayOfWeek   vbVariant   vbVerticalTab   vbVolume   vbWednesday   vbWhite   vbWide   vbYellow   vbYes   vbYesNo   vbYesNoCancel
  2. Constants/Literals: Empty  False  Nothing  Null  True 
Previous Month  DEC  2012  Next Month
SMTWTFS
1
2345678
9101112131415
16171819202122
23242526272829
3031

Previous Month  JAN  2011  Next Month
SMTWTFS
1
2345678
9101112131415
16171819202122
23242526272829
3031

Sideway BICK Blog

19/12


Copyright © 2000-2020 Sideway . All rights reserved Disclaimerslast modified on 26 January 2013