windows_Scripting_Secrets

所属分类:Windows编程
开发工具:VBScript
文件大小:3529KB
下载次数:11
上传日期:2009-07-21 01:39:02
上 传 者zhoujingxzf
说明:  Windows 脚本编程核心技术精解附书光盘
(Windows scripting solutions of core technology precision CD-ROM attached to the book)

文件列表:
TP316.7&166\jsdoc.exe (637848, 2000-01-08)
TP316.7&166\sce10en.exe (130312, 1999-03-15)
TP316.7&166\sct10en.exe (209888, 1999-04-08)
TP316.7&166\ste51en.exe (756168, 1999-11-09)
TP316.7&166\vbsdoc.exe (634784, 2000-01-08)
TP316.7&166\wshdoc.exe (288672, 2000-01-08)
TP316.7&166\Code\Components\appactivate\appactivate.ctl (1580, 2000-01-05)
TP316.7&166\Code\Components\appactivate\appactivate.exp (696, 2000-01-14)
TP316.7&166\Code\Components\appactivate\appactivate.lib (4064, 2000-01-14)
TP316.7&166\Code\Components\appactivate\appactivate.ocx (9216, 2000-01-14)
TP316.7&166\Code\Components\appactivate\appactivate.vbp (677, 2000-01-14)
TP316.7&166\Code\Components\appactivate\appactivate.vbw (52, 2000-01-20)
TP316.7&166\Code\Components\appactivate (0, 2008-09-22)
TP316.7&166\Code\Components\capture\capture.ctl (10931, 2000-01-10)
TP316.7&166\Code\Components\capture\capture.exp (684, 2000-01-14)
TP316.7&166\Code\Components\capture\capture.frm (2164, 2000-01-10)
TP316.7&166\Code\Components\capture\capture.lib (4016, 2000-01-14)
TP316.7&166\Code\Components\capture\capture.ocx (19456, 2000-01-14)
TP316.7&166\Code\Components\capture\capture.vbp (673, 2000-01-14)
TP316.7&166\Code\Components\capture\capture.vbw (100, 2000-01-20)
TP316.7&166\Code\Components\capture (0, 2008-09-22)
TP316.7&166\Code\Components\cdtray\cdtray.ctl (796, 2000-01-04)
TP316.7&166\Code\Components\cdtray\cdtray.exp (682, 2000-01-12)
TP316.7&166\Code\Components\cdtray\cdtray.lib (4008, 2000-01-12)
TP316.7&166\Code\Components\cdtray\cdtray.ocx (9728, 2000-01-12)
TP316.7&166\Code\Components\cdtray\cdtray.vbp (616, 2000-01-20)
TP316.7&166\Code\Components\cdtray\cdtray.vbw (49, 2000-01-20)
TP316.7&166\Code\Components\cdtray (0, 2008-09-22)
TP316.7&166\Code\Components\clipboard\clipboard.ctl (590, 2000-01-10)
TP316.7&166\Code\Components\clipboard\clipboard.exp (690, 2000-01-14)
TP316.7&166\Code\Components\clipboard\clipboard.lib (4040, 2000-01-14)
TP316.7&166\Code\Components\clipboard\clipboard.ocx (8192, 2000-01-14)
TP316.7&166\Code\Components\clipboard\clipboard.vbp (670, 2000-01-20)
TP316.7&166\Code\Components\clipboard\clipboard.vbw (50, 2000-01-20)
TP316.7&166\Code\Components\clipboard (0, 2008-09-22)
TP316.7&166\Code\Components\comdlg\comdlg.ctl (1437, 2000-01-20)
TP316.7&166\Code\Components\comdlg\comdlg.exp (682, 2000-01-20)
TP316.7&166\Code\Components\comdlg\comdlg.lib (4008, 2000-01-20)
TP316.7&166\Code\Components\comdlg\comdlg.log (293, 2000-01-20)
... ...

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’t type in all the scripts and sources! There’s 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’t 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’t 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’re using Windows 95/***) or Windows NT/2000 Explorer (if you’re 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’re using Windows 95/***) or Windows NT/2000 Explorer (if you’re 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.

近期下载者

相关文件


收藏者