Skip to Content
Windows XP in a Nutshell
book

Windows XP in a Nutshell

by David A. Karp, Tim O'Reilly, Troy Mott
April 2002
Beginner
640 pages
27h 54m
English
O'Reilly Media, Inc.
Content preview from Windows XP in a Nutshell

Object Browser

It is easy to be overwhelmed by the number of objects and what they do. It’s equally overwhelming when you realize the number of objects that might be available to your machine without your being aware of it.

Microsoft Office 97, 2000, and XP provide a powerful programming environment based on the Visual Basic for Applications language (similar to VBScript). Within this environment, there is an object browser, which allows you to browse objects installed on your system and investigate the methods and properties associated with them. You do not actually have to write any code to take advantage of the Object Browser.

Tip

If you aren’t familiar with the Visual Basic Environment, the Object Browser can be a little intimidating. See Learning Word Programming or Writing Excel Macros, both by Steve Roman (O’Reilly), for an introduction.

From either Microsoft Word or Excel:

  1. Select Tools Macro Visual Basic Editor. This will start the VBA environment.

  2. Select Tools References. The dialog box shown in Figure 9-2 will appear.

Object References dialog box

Figure 9-2. Object References dialog box

Select the library references you wish to use. The reference name for the WSH Wscript object is Microsoft Windows Script Host Object Model, and the FileSystem object is Microsoft Scripting Runtime.

Once you have selected the libraries you wish to reference, select the OK button.

Now press the F2 key. This will ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Windows XP in a Nutshell, Second Edition

Windows XP in a Nutshell, Second Edition

David A. Karp, Tim O'Reilly, Troy Mott
Windows XP Professional: The Missing Manual

Windows XP Professional: The Missing Manual

David Pogue, Craig Zacker, L.J. Zacker
Microsoft® Windows® XP Unleashed

Microsoft® Windows® XP Unleashed

Terry William Ogletree, Walter Glenn, Rima Regas

Publisher Resources

ISBN: 0596002491Catalog PageErrata