Errata for Microsoft® Windows® Scripting Self-Paced Learning Guide
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update
Change to code sample
On page 32, the code sample does not match the description in the Note on page 33.
Set objWMIService = GetObject(â€świnmgmts:â€ť) _
& .ExecQuery _
(â€śSELECT * FROM Win32_Processâ€ť)To:
Set objWMIService = GetObject(â€świnmgmtsâ€ť _
& ":").ExecQuery _
(â€śSELECT * FROM Win32_Processâ€ť)
||May 06, 2010
AddRemovePrograms column referenced in place of Win32Reg_AddRemovePrograms
On page 165, step 5 of the lab instructions reads:
"Set colItems equal to what comes back from issuing the WQL statement â€śSelect * from AddRemoveProgramsâ€ť as you use the execQuery method. Your code will look like the following:
Set colItems = objWMIService.ExecQuery(â€śSELECT * FROM AddRemoveProgramsâ€ť)"
It should read:
"Set colItems equal to what comes back from issuing the WQL statement â€śSelect * from Win32Reg_AddRemoveProgramsâ€ť as you use the execQuery method. Your code will look like the following:
Set colItems = objWMIService.ExecQuery(â€śSELECT * FROM Win32Reg_AddRemoveProgramsâ€ť)"
Microsoft Press is committed to providing informative and accurate
books. All comments and corrections listed above are ready for
inclusion in future printings of this book. If you have a later printing
of this book, it may already contain most or all of the above corrections.
||Jul 13, 2010