VBScript Tutorial A

Source: Internet
Author: User
Overview
Microsoft®visual basic®scripting Edition is a subset of the Microsoft®visual basic® programming language and is a fast, portable, lightweight interpreter for use with microsoft®activex® control Pieces, automation servers, and Java applets world Wide Web browsers and other applications.

What is VBScript?
Microsoft Visual Basic Scripting Edition is the newest member of the Visual Basic family of program development languages, which applies flexible scripts to a wider range of areas, including W in Microsoft Internet Explorer EB client Script and Web server script in the Microsoft Internet information Service.
Easy to learn and easy to use
If you already know Visual Basic or Visual Basic for Applications, you'll soon be familiar with VBScript. Even if you have not learned Visual Basic, you can use all of the Visual Basic language to program programming as long as you learn VBScript. Although you can learn about VBscript from several Web pages in this tutorial, this tutorial does not tell you how to program. To learn to program, read the "Step by Step" published by Microsoft Press.
ActiveX scripts
VBScript uses the activex® script to talk to the host application. Using ActiveX scripts, browsers and other host applications no longer require special integration code for each script part. ActiveX scripts enable the host to compile script, get and invoke entry points, and manage the namespaces available to the developer. With ActiveX scripts, language vendors can build standard script runtime languages. Microsoft will provide run-time support for VBScript. Microsoft is working with multiple Internet groups to define ActiveX Scripting standards so that the scripting engine can be interchanged. ActiveX scripts can be used in microsoft®internet Explorer and microsoft®internet information Service.
VBScript in other applications and browsers
As a developer, you can use the VBScript source implementation program for free in your product. Microsoft provides VBscript binary implementations for 32-bit WINDOWS®API, 16-bit Windows APIs, and macintosh®. VBScript is integrated with the world Wide Web browser. VBScript and ActiveX scripts can also be used as normal scripting languages in other applications.
Add VBScript code to an HTML page
The SCRIPT element is used to add VBScript code to an HTML page.
<SCRIPT> Mark
The VBScript code is written between pairs <SCRIPT> tags. For example, the following code is the process of passing a date for a test:
<script language= "VBScript" >
<!--
Function Candeliver (Dt)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.