Q&A

Q1:What are some applications that support Automation?
A1: All the Microsoft Office products, as well as Microsoft Visio, support Automation. You can create a useful application by building a client that makes use of multiple Automation servers. For instance, you could calculate data in Excel and then format and print the data in Word.
Q2:Can you automate a component without creating a reference to a type library?
A2: Yes, but this is considerably more complicated than when using a type library. First, you can't early-bind to objects, because Visual C# .NET knows nothing about the objects without a type library. This means you have no IntelliSense drop-down list to help you navigate the object model; the chances for bugs in this situation ...

Get Sams Teach Yourself Microsoft® Visual C#™ .NET in 24 Hours 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.