Chapter 22. Controlling Other Applications Using Automation

<feature><title></title>

What You’ll Learn in This Hour:

<objective>

Creating a reference to an automation library

</objective>
<objective>

Creating an instance of an automation server

</objective>
<objective>

Manipulating the objects of an automation server

</objective>
<objective>

Automating Microsoft Word

</objective>
<objective>

Automating Microsoft Excel

</objective>
</feature>

In Hour 16, “Designing Objects Using Classes,” you learned how to use classes to create objects. In that hour, I mentioned that objects could be exposed to outside applications. Excel, for example, exposes most of its functionality as a set of objects. The process of using objects from another application is called ...

Get Sams Teach Yourself Visual Basic 2008 in 24 Hours: Complete Starter Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.