X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

VBScript Tutorial


VBScript

VBScript is a Microsoft scripting language.

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





VBScript on a Server

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

Example

<html>
<body>

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

</body>
</html>

Show Example »

Click on the Try-it yourself button to see how it works.


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 is a server scripting language. It should not be used for scripting in a browser.


VBScript Examples

Learn by 100 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 W3Schools every example displays the hidden ASP code. This will make it easier for you to understand how it works.

VBScript Examples


VBScript Reference

At W3Schools you will find a complete VBScript reference.

VBScript Reference



Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook