Quiz | 1. | Before you can early bind objects in an automation server, you must do what? | | 2. | What is the most likely cause of not seeing a type library listed in the Add References dialog box? | | 3. | For Visual C# to use a COM library, it must create a ________. | | 4. | To manipulate a server via automation, you manipulate: | | 5. | To learn about the object library of a component, you should: | Answers | 1. | Add a reference to the server's type library. | | 2. | You do not have the application installed. | | 3. | Wrapper around the COM library. | | 4. | An object that holds an instantiated object from the server. | | 5. | Consult the programmer's help file for the component. | Exercises | 1. | Modify the Excel example to save the workbook. Hint: Consider the SaveAs() method of the Workbooks collection. | | 2. | Modify your Excel example so that after summing the four cells, you retrieve the sum from Excel and then send the value to a new Word document. | |