Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
VBScript
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Additional functionality === File system management, file modification, and streaming text operations are implemented with the Scripting Runtime Library <code>scrrun.dll</code>. This provides objects such as FileSystemObject, File, and TextStream, which expose the Windows file system to the programmer. Binary file and memory I/O are provided by the "ADODB.Stream" class, which can also be used for string builders (to avoid excessive string concatenation, which can be costly), and to interconvert byte arrays and strings. Database access is made possible through [[ActiveX Data Objects]] (ADO), and the IIS Metabase can be manipulated using the GetObject() function with sufficient permissions (useful for creating and destroying sites and virtual directories). XML files and schemas can be manipulated with the [[MSXML|Microsoft XML Library]] [[Application Programming Interface]]s ({{Mono|msxml6.dll}}, {{Mono|msxml3.dll}}), which also can be used to retrieve content from the World Wide Web via the XMLHTTP and ServerXMLHTTP objects (class strings "MSXML2.XMLHTTP.6.0" and "MSXML2.ServerXMLHTTP.6.0", respectively). Functionality can also be added through ActiveX technologies. Security concerns have led to many ActiveX controls being blacklisted in the Internet Explorer process by Microsoft, which deploys the [[killbit]] via monthly Windows security updates to disable vulnerable Microsoft and third party code.<ref>{{cite web|url=http://support.microsoft.com/kb/240797|title=How to stop an ActiveX control from running in Internet Explorer|date=2007-08-24|access-date=2009-06-29|publisher=[[Microsoft]]}}</ref><ref>{{cite web|url=http://www.microsoft.com/technet/security/advisory/960715.mspx|title=Microsoft Security Advisory (960715): Update Rollup for ActiveX Kill Bits|date=2009-01-17|access-date=2009-06-29|publisher=[[Microsoft]]}}</ref> Programmers can utilize the extensibility via COM (ActiveX) modules to specifically equip the Script Host and VBScript with required or desired functions. The "VTool" component, for instance, adds a number of dialog windows, binary file access, and other functionality.<ref>[http://eriedel.info/en/files/vtool/vtool.html "VTool" script component] β GUI and functional enhancements for WSH/VBS</ref>
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
VBScript
(section)
Add topic