Microsoft KB Archive/926352

From BetaArchive Wiki

Article ID: 926352

Article Last Modified on 6/8/2007



APPLIES TO

  • Microsoft Windows Scripting Self-Paced Learning Guide, ISBN 0-7356-1981-6



SUMMARY

This article contains comments, corrections, and information about known errors relating to the Microsoft Press book Microsoft Windows Scripting Self-Paced Learning Guide, 0-7356-1981-6.

The following topics are covered:

  • Page 32: Change to code sample
  • Page 165: AddRemovePrograms column referenced in place of Win32Reg_AddRemovePrograms


MORE INFORMATION

Page 32: Change to code sample

On page 32, the code sample does not match the description in the Note on page 33.

Change:

Set objWMIService = GetObject(“winmgmts:”) _
    & .ExecQuery _
    (“SELECT * FROM Win32_Process”)


To:

Set objWMIService = GetObject(“winmgmts” _
    & ":").ExecQuery _
    (“SELECT * FROM Win32_Process”)



Page 165: 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.


Additional query words: 0-7356-1981-6 978-0-7356-1981-4

Keywords: KB926352