/******************************************************************/ /* Document : VB6, VBscript and VB.NET code examples */ /* Doc. Versie : 20 */ /* File : vb.txt */ /* Date : 28-02-2005 */ /* Content : just a series of SIMPLE VB & vbscript examples */ /* Compiled by : Albert */ /******************************************************************/ Part I deals with VBSCRIPT Part II deals with VB6 Part III deals with VB.NET #################################################################### #################################################################### PART I: VBSCRIPT: #################################################################### #################################################################### 1. Introduction: ================ 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 How Does it Work? When a VBScript is inserted into a HTML document, the Internet browser will read the HTML and interpret the VBScript. The VBScript can be executed immediately, or at an event that occurs later. Scripting languages, like JavaScript and VBScript, are designed as an extension to HTML. The web browser receives scripts along with the rest of the web document. It is the browser's responsibility to parse and process the scripts. HTML was extended to include a tag that is used to incorporate scripts into HTML-the