I have used VBScript in the Grapecity ‘s Active reports and office add-ins. If you have little knowledge of the scripting languages than it is easy to learn. I’ll try to show you all the basic of the VBScript in following parts.
What is this?
In HTML page
method or function in VBScript starts with the ‘Sub’ keyword and ends with the ‘End Sub’. msgbox() can be use to show a message to the user.
<html> <head> <title>Example of VBScript</title> <script language="vbscript"> sub window_OnLoad() msgBox("hello") End Sub </script> </head> <body> Welcome to Authorcode </body> </html>
You must give the permission to allow run the script in the above html page on the Internet Explorer(Please check that). In HTML document VBScript code is written within the <script> and </script> tag pair and you also need to specify the language
let’s go to the next chapter: Data types, Variables and Array in VBScript