Thursday, January 3, 2019

What is vbscript?

VBScript Intoduction

Vb script is a scripting language used for performing administrative tasks in system programming.
Vb script is a loosely typed language meaning we don't need to define the type of variables in vbscript.
It is used only on Microsoft operating system.

VBScript Applications

VbScript  is used in many places.
  1. In windows administrative tasks.
  2. In QTP as automation scripting language.
  3. In html pages as a client side scripting language.
  4. It is also used in embedded applications
  5. VBScript is also used as server side scripting language in native ASP pages with IIS Web Server.

How to execute VBScript

You can write and execute the vbscript programs on only Windows based machines. You can create the file with extension .vbs and then double click it to execute the code inside it. Below figures show how to do it on windows 7 machine.


Open Folder and Search Options




Uncheck hide extensions for known file types




Create a vbscript program in notepad and Save with .vbs extension.. Double click to Execute

Related Posts:

  • Difference between procedures and functions in vb script Difference between procedures and functions in vb script Major difference between procedures and functions in vb script is that procedures can not return the value but functions can return the value.Procedure Example… Read More
  • What are different conditional statements in vbscript? What are different conditional statements in vbscript? In Vbscript there are 2 types of conditional statements. if ...else Select Case Example of if else -  a = 10 If a > 10 Then Msgbox "a is greater t… Read More
  • String functions in vbscript String functions in vbscript Below is the list of string functions in vb script lcase ucase len left right mid ltrim rtrim trim replace strreverse string Instr Instrrev strcomp We are going to have a look at each St… Read More
  • Sub Procedures in VBScript Sub Procedures in VBScript Sub procedures are used to perform the specific task. Sub procedures are used to increase the reusability of the code. Simple example of the procedure Suppose you want to find the sum of … Read More
  • Loops in Vbscript Loops in Vbscript Here is the list of different looping statements in vbscript. For ....Next For Each ...Next Do While...Loop Do Until....Loop While...Wend 'You can exit from For Loop with Exit For statement'For Loo… Read More

0 comments:

Post a Comment

Blog Archive

Translate

Popular Posts

Total Pageviews

150,558

Blog Archive