0% found this document useful (0 votes)
118 views

VB Script

Scripting languages are lightweight, interpreted languages that do not require compilation into executables. They have implicit data type support and limited capabilities for user interfaces and graphics. Programming languages are compiled into executables, have explicit data type support, and provide richer user interface and graphics capabilities. VB Script can be used for client-side web scripting, server-side web scripting, network administration, system administration, and test automation. It supports basic programming constructs like variables, operators, conditional and loop statements, functions, file system operations, and error handling.

Uploaded by

sudha1427
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
118 views

VB Script

Scripting languages are lightweight, interpreted languages that do not require compilation into executables. They have implicit data type support and limited capabilities for user interfaces and graphics. Programming languages are compiled into executables, have explicit data type support, and provide richer user interface and graphics capabilities. VB Script can be used for client-side web scripting, server-side web scripting, network administration, system administration, and test automation. It supports basic programming constructs like variables, operators, conditional and loop statements, functions, file system operations, and error handling.

Uploaded by

sudha1427
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Scripting Vs Programming

Scripting Language: Scripting Language is a Light weight language, no need to compile them separately, during execution they automatically compile an run. 1) It is an Interpreter based Language 2) Interpreter converts high level instructions into machine language line by line 3) It doesnt create executable file. 4) No need to compile the program 5) It takes less code for achieving tasks. 6) It greatly reduces development time 7) It reduces maintenance of cost 8) Implicit Support of Data Types. 9) Limited support for User Interface Design 10) Limited or No Support for Graphics Design Example Scripting Languages are: Shell, Perl, VB Script, Java Script, Python, Ruby, Rexx, PHP Etc.. Programming Language: 1) It is a compiler based Language. 2) Compiler converts the whole program in single short into machine language. 3) It Creates .exe file. Need to compile the program 4) It takes numerous lines of code 5) It increases development time 7) It Increases maintenance of cost 8) Explicit support of Data Types 9) Rich support for User Interface Design 10) Rich Support for Graphics Design Example Programming Languages are: COBOL, Basic, C, C++, VC++, VB Etc...

VB Script Fundamentals And Features


VB Script has several purposes: a) Client side scripting in the Web (HTML)(Browser) (IE) b) Server side scripting in the Web (ASP) (Web Server)(IIS) c) Network Administration (Server OS) (WSH-Windows Script Host) d) System Administration (Client OS) (WSH-Windows Script Host) e) Test Automation (QTP) (QTP) Our QTP Point of view below are the learning objectives: a) Adding Comments b) Data types c) Declarations (Variables (Scalar and Array),Constants)) d) VB Script Operators i) Arithmetic Operators (Including Concatination operators) ii) Comparison iii) Logical e) Flow Control Statements (a. Conditional Statements) i) If...Then...Else...End If ii) Select Case...Case...Case Else...End Select f) Flow Control Statements (b. Loop Statements) i) For...Next ii) While...Wend iii) Do While/Until...Loop iV) For Each...Next g) VB Script Procedures(Functions) i) Built-in Functions(String, Array, Math,Date & Time, Conversion functions etc...) ii) User defined 1) Sub Procedures 2) Function Procedures

h) Coding Convensions -------------------i) File System Operations j) Excel sheet Operations k) database Operations l) Other VB Script Objects i) Dictionary Object ii) Word iii) Internet Explorer Object iV) RegExp Object m) Regular expressions k) Error Handling

You might also like