Latest web development tutorials
 

VBScript Tutorial


VBScript

VBScript is a Microsoft scripting language.

VBScript is a light version of Microsoft's programming language Visual Basic.

VBScript is the default scripting language in ASP (Active Server Pages).





VBScript on a Server

When VBScript is used with ASP, the statement response.write() produces output.

Click on the "Show Example" button to see how it works:

Example

<html>
<body>

<%response.write("This is my first VBScript")%>

</body>
</html>
Show Example »

What is VBScript?

  • VBScript is a scripting language
  • A scripting language is a lightweight programming language
  • VBScript is a light version of Microsoft's programming language Visual Basic
  • VBScript is the default language in ASP (Active Server Pages)

VBScript in a Browser?

VBScript should be used as a server-side scripting language. It should not be used for scripting in a browser.


VBScript Examples

Learn by examples!

Because the scripts are executed on the server, you can not view the code in a browser. You will only see the output from ASP which is plain HTML.

At w3ii every example displays the hidden ASP code. This will make it easier for you to understand how it works.

VBScript Examples


VBScript Reference

At w3ii you will find a complete VBScript reference.

VBScript Reference