Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
VBScript
(section)
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>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)