Workshop

   

The Workshop is designed to help you anticipate possible questions, review what you've learned, and get you thinking about how to put your knowledge into practice. The answers to the quiz are in Appendix A,"Answers to Quizzes/Exercises."

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 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:

Exercises

  1. Modify the Excel example to save the Workbook. Hint: Consider the SaveAs() method of the Workbooks collection.

  2. If you have Word installed, add the Word type library to a new project, create an object variable that holds a reference to Word's Application object, create a new document, and send some text to the document.


   
Top


Sams Teach Yourself C# in 24 Hours
Sams Teach Yourself Visual Basic 2010 in 24 Hours Complete Starter Kit (Sams Teach Yourself -- Hours)
ISBN: 0672331136
EAN: 2147483647
Year: 2002
Pages: 253
Authors: James Foxall

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net