|
VBScript (''"Visual Basic Scripting Edition"'') is an Active Scripting language developed by Microsoft that is modeled on Visual Basic. It is designed as a "lightweight" language with a fast interpreter for use in a wide variety of Microsoft environments. VBScript uses the Component Object Model to access elements of the environment within which it is running; for example, the FileSystemObject (FSO) is used to create, read, update and delete files. VBScript has been installed by default in every desktop release of Microsoft Windows since Windows 98;〔(''WSH Version Information'' ), on MSDN〕 in Windows Server since Windows NT 4.0 Option Pack;〔(''VBScript Version Information'' ), on MSDN〕 and optionally with Windows CE (depending on the device it is installed on). A VBScript script must be executed within a host environment, of which there are several provided with Microsoft Windows, including: Windows Script Host (WSH), Internet Explorer (IE), and Internet Information Services (IIS).〔(''What is VBScript?'' ), in MSDN Library〕 Additionally, the VBScript hosting environment is embeddable in other programs, through technologies such as the Microsoft Script Control (msscript.ocx). ==History== VBScript began as part of the Microsoft Windows Script Technologies, launched in 1996. This technology (which also included JScript) was initially targeted at web developers. During a period of just over two years, VBScript advanced from version 1.0 to 2.0, and over that time it gained support from Windows system administrators seeking an automation tool more powerful than the batch language first developed in the early 1980s.〔''86-DOS''〕 On March 6, 1988, Alan Cooper showed Bill Gates his shell prototype that allowed widgets to be added dynamically. On March 20, 1991, Microsoft adopted "Quick Basic". This allowed users to create Windows apps quickly and easily with a GUI. Finally, on August 1, 1996, Internet Explorer was made with features that included VBScript.〔(''VB History'' )〕 In version 5.0, the functionality of VBScript was increased with new features including regular expressions; classes; the ''With'' statement;〔(''Visual Basic Scripting Edition: With Statement'' ), on MSDN〕 the ''Eval'', ''Execute'', and ''ExecuteGlobal'' functions to evaluate and execute script commands built during the execution of another script; a function-pointer system via GetRef,〔(''GetRef Function'' ), on MSDN〕 and Distributed COM (DCOM) support. In version 5.5, ''SubMatches''〔(''Visual Basic Scripting Edition: SubMatches Collection'' ), on MSDN〕 were added to the ''regular expression'' class in VBScript, to finally allow script authors to capture the text within the expression's groups. That capability had already been available in JScript. With the advent of the .NET framework, the scripting team took the decision to implement future support for VBScript within ASP.NET for web development,〔(''What About VBScript?'' ), within the article ''Introducing JScript .NET'' by Andrew Clinick of Microsoft Corporation, in Scripting Clinic on MSDN (July 14, 2000)〕 and therefore no new versions of the VBScript engine would be developed. It would henceforth be supported by Microsoft's ''Sustaining Engineering Team'', who are responsible for bug fixes and security enhancements. For Windows system administrators, Microsoft suggests migrating to Windows PowerShell. However, the scripting engine will continue to be shipped with future releases of Microsoft Windows and IIS. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「VBScript」の詳細全文を読む スポンサード リンク
|