Windows Scripting Secrets CD-ROM Contents
=========================================
The CD-ROM included with this book contains the following
materials:
* All scripts and component source code from the book
* Microsoft Windows Script Technologies Trial
* Adobe Acrobat Reader
* An electronic version of this book, Windows Scripting Secrets,
in .pdf format
Scripts and Component Source Code
---------------------------------
Don稚 type in all the scripts and sources! There痴 a much easier
way: on this book's companion CD-ROM, where you'll find both the
scripts and all the component source code.
Note: To compile and run the scripts and source code for this
book, you will need the Visual Basic Control Creation Edition
(VB CCE), which you can download from Microsoft at
http://msdn.microsoft.com/vbasic/downloads/cce/, and Windows
Scripting Host 2.0, which you can obtain at
http://www.microsoft.com/msdownload/vbscript/
scripting.asp?id=01.
Creating your own COM objects
-----------------------------
After you have installed the Visual Basic Control Creation
Edition (or if you already own Visual Basic), you can access
the COM object source codes in the Code\Components directory.
These are organized in subdirectories by project name:
appactivate, capture, and so on. Open the .vbp files to see
all the internal mechanics. There are no secret parts; I have
provided full source code of any COM object introduced in this
book.
Installing COM objects the easy way
-----------------------------------
If you don稚 like to compile COM objects yourself, take a look
into the Install subdirectory. Here, you find setup packages
for all COM objects. Just call setup.exe, and the Visual Basic
installer will install all necessary files onto your computer.
Caution: However, before you install anything using the Visual
Basic installer, make sure you have read the installer
limitations outlined in Appendix A. The packages have been
compiled with Windows 2000 to ensure they will work with as
many Windows versions as possible. Still, using the VB installer
may not install all components correctly on your system. There
may even be cases where the installer replaces newer files with
older ones, an intrinsic limitation of the VB installer, which
is why you should pay attention to the following caveat. On
production systems critical to your business, you should
avoid the VB installer packages and instead compile the COM
objects yourself.
Using scripts
-------------
All scripts are organized by chapter, and stored in the
Code/Scripts subfolder. In contrast to the source code printed
in the book, the scripts on CD also include a protection
routine. It checks whether all of the required COM objects are
installed on your system. This routine consists of two clearly
marked parts, and you can remove those lines anytime if you
don稚 need this kind of protection.
Changing and editing files
--------------------------
Note also that all files on CD by default have a write-
protection attribute. If you want to change a file, you must
copy it to your hard drive and remove the write protection
attribute manually.
Overview: COM object list
-------------------------
All COM objects discussed in this book and used within the
scripts are listed in the following table. In the left column,
you find the COM object names scipts use to access the component.
In the right column, you find the name of the component on CD.
Search for this name both in Code\Components (source code) and
Code\Install (setup packages).
COM Object Name Component Name on CD
--------------- --------------------
App.activate appactivate
Cd.tools Cdtray
Clip.board Clipboard
Compress.files Compress
Dialog.test Inputbox
Dlg.tools Comdlg
Dll.tobtools Dll
File.versioninfo Version
Filesystem.tool filesys
Folder.tools folderpicker
Format.tool Format
Icon.handler iconhandler
Iconpicker.tool Iconpick
Iehelper.tools Iehelper
Internet.communication Internet
Listview.tool Listview
Mci.manager Mci
Memory.stats Memory
Misc.information Miscinfo
Modeless.dialog Modeless
Module.spy Spy
Nt.services Ntservice
Nt.shutdown Ntshutdown
Nt.user Ntuser
Ole.bitmap Capture
Ole.err Oleerror
Os.version Osversion
Process.id Process
Property.tool Property
Registry.update Regupdate
Regtool.tob Registry
Screen.tool screen
Shellcopy.tool Shellcopy
Timer.event Timer
Tray.icon Tray
Treeview.tool Treeview
Twain.manager Scan
Typelib.decoder Typelib
Web.dialog Webdialog
Window.list Windowlist
Window.list2 Windowlist2
Window.Manager Winmanager
Microsoft Windows Script Technologies Trial
-------------------------------------------
The CD-ROM includes the Windows Script Technologies Trial from
Microsoft, which includes valuable add-ons and documentation.
Included are:
* SCE10EN.EXE, which allows encryption of script files
* SCT10EN.EXE, which includes script components useful for
developers who wish to include scripting capabilities into
their applications.
* STE51EN.EXE, which helps install the latest version of
Windows Scripting Host.
* VBSDOC.EXE, which includes VBScript help files.
* JSDOC.EXE, which includes JScript help files.
* WSHDOC.EXE, which includes Windows Scripting Host help files.
To install any of these items, go to the Windows Script
Technology directory on the CD and double-click the appropriate
executable file, then follow the setup instructions.
Adobe Acrobat Reader
--------------------
Adobe Acrobat Reader is a helpful program that will enable you
to view the electronic version of this book in the same page
format as the actual book.
To install and run Adobe Acrobat Reader and view the electronic
version of this book, follow these steps:
1. Start Windows Explorer (if you池e using Windows 95/98) or
Windows NT/2000 Explorer (if you池e using Windows NT/2000),
and then open the Adobe Acrobat folder on the CD-ROM.
2. In the Adobe Acrobat folder, double-click rs40eng.exe and
follow the instructions presented onscreen for installing Adobe
Acrobat Reader.
3. To view the electronic version of this book after you have
installed Adobe Acrobat Reader, start Windows Explorer (if
you池e using Windows 95/98) or Windows NT/2000 Explorer (if
you池e using Windows NT/2000), and then open the Windows
Scripting Secrets PDF folder on the CD-ROM.
In the Windows Scripting Secrets PDF folder, double-click the
chapter or appendix file you want to view. All documents in
this folder end with a .pdf extension.
Windows脚本编程核心技术精解_源代码.rar
需积分: 9 190 浏览量
2010-11-02
18:22:47
上传
评论
收藏 3.45MB RAR 举报
rwxyxy
- 粉丝: 5
- 资源: 17
最新资源
- VSc++编程助手1.0 - 1
- 基于matlab的说话人语音识别源码+PPT+报告(优质项目).zip
- 语音识别基于matlab说话人识别系统源码+报告PPT(高分优质项目).zip
- 毕业设计: 校园失物招领小程序的设计与实现论文(源码 + 数据库 + 说明文档)
- 美易ME-DUI自绘模块3.3-易语言模块
- 毕业设计:小程序消防知识每天学(源码 + 数据库 + 说明文档)
- 2024-NEW.zip
- 软件.zip
- 华为FPGA设计技巧FPGA设计规范设计经验设计流程指南华为面经硬件工程师手册等资料(15个).zip
- 毕业设计:基于微信小程序大学校园二手教材与书籍拍卖系统(源码 + 数据库 + 说明文档)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈