Open In App

VBScript | Introduction

 

The VBScript stands for Visual Basics Script language. Basically it is the combination of Visual Basic programming language and JavaScript language. VBScript was invented and maintained by Microsoft. It is used to develop dynamic web pages. It is much lighter compared to Visual Basic programming language but works as a scripting language like JavaScript. To run VBScript on the client-side, the client must have to use Internet Explorer because other browsers are still not supported by the VBScript. 



VBScript currently runs on below mentioned environments:

Prerequisite: To run VBScript script locally we need only two things:



Note: All the VBScript editors are actually HTML editors that supports VBScript. Setup for VBScript:




<!DOCTYPE html>
<html>
    <head>
        <title>VBScript Introduction</title>
    </head>
    <body>
  
         <!-- Paste VBScript Here -->
    </body>
</html>




<script type="text/vbscript">
    document.write("Hello geeks, greeting from GeeksforGeeks")
</script>




<!DOCTYPE html>
<html>
<head>
    <title>VBScript Introduction</title>
</head>
 
<body>
    <script type="text/vbscript">
        document.write("Welcome to GeeksforGeeks")
    </script>
</body>
</html>

Welcome to GeeksforGeeks 

Note: To use in client-side, client have to use Microsoft Edge. 

Troubleshoot: If your VBScript code is not working then use the following steps:

 

Disadvantages:


Article Tags :