Microsoft Office 2000/Visual Basic Programmer's Guide |
Microsoft Office includes a set of shared objects available in all Office applications that help you search for files, use the Office Assistant, manipulate command bars, read and write document properties, read and write script, and hook add-ins to your Office solution. Because these objects are shared among all Office applications, it is easy to write code that uses these objects and that will run without modification from within any Office application or custom Office solution.
Note Although COMAddIn objects are a shared Office component in the Microsoft Office 9.0 object library, they are not discussed in this chapter. For information about how to create and use COMAddIn objects, see Chapter 11, "Add-ins, Templates, Wizards, and Libraries."
You can use these objects to customize the appearance of your application, create custom toolbars and menu bars in code, perform custom file searches, or customize the Office Assistant to respond to the user's actions.
Note Object model diagrams for all the shared Office components discussed here are available in the Microsoft Office 2000 Object Model Guide.
Referencing Shared Office Components
Working with the FileSearch Object
Working with the Office Assistant
Working with Document Properties