Microsoft Office 2000 Developer |
The Microsoft® Office 2000 Developer tools are available from the Visual Basic for Applications (VBA) environment. Because Office 2000 applications use the same Visual Basic Editor, the tools are easy to find and use.
To use the Office 2000 Developer tools
To open the Visual Basic Editor in Office applications
–or–
Before you can use any of the Office 2000 Developer add-ins and controls, you must load them into the Visual Basic environment. The Office 2000 Developer add-ins are located in the Add-In Manager.
Note The Access Source Control add-in is automatically loaded and is available on the Tools menu.
To load Office 2000 Developer add-ins
The add-ins provided with Office 2000 Developer are listed in the Available Add-Ins list. Other add-ins may be available as well, including add-ins created in Microsoft® Visual Basic® and by third-party vendors.
Tip You may want to check the Load on Startup option so that the add-in reappears the next time you run the Visual Basic Editor. You only need to load the add-ins once if you choose this option. Each time you open the Visual Basic Editor in any Office application, the add-ins will be loaded.
Once an add-in is loaded in the Visual Basic environment, it appears in the Add-Ins menu and is available for use. To launch an add-in, select it from the Add-Ins menu.
For information about creating your own add-ins, see Chapter 11, "Add-ins, Templates, Wizards, and Libraries" in the Microsoft Office 2000/Visual Basic Programmer's Guide as well as Add-Ins Overview, Add-In Manager Dialog Box, and Add-In Essentials in the Visual Basic documentation.
Tip Office 2000 Developer includes a number of samples and templates for creating add-ins using Visual Basic, Visual C++, and Visual J++. You can find these on the Office 2000 Developer CD in the \Samples directory.
To take advantage of the source control add-ins available in Office 2000 Developer, you need to install and configure Visual SourceSafe. You can install Visual SourceSafe from the Office 2000 Developer installation CD.
For more information about setting up Visual SourceSafe, see Setting Up Visual SourceSafe and Setting Up Source Control with the Microsoft Development Environment in the MSDN Library.
For more information about using the source control add-ins, see Using Source Code Control.
With Office 2000 Developer, you can more easily access data stored in external databases, such as SQL Server, and display the results within any of the productivity applications in Office.
During installation, Office 2000 Developer installs and registers items necessary to take advantage of data in your applications. However, to use them in your project, you need to identify them as active components.
Note To use the Data Environment designer, you need to create a new project. The Data Environment designer is not available in the host project.
To select the components needed for data access
For more information about using data in your application, see Data Connectivity and Creating a Data Source Using Data Connectivity Tools.
In the ..\ODETools\V9\Samples directory of the Office 2000 Developer tools CD, you will find a number of samples and templates that demonstrate some of the key features of Office 2000 Developer at work. For information about using these samples, refer to the readme files in each subdirectory.
There are also a number samples associated with the Microsoft Office 2000/Visual Basic Programmer's Guide, which can be found on the Office 2000 Developer tools CD in the ..\OPG folder. For information about using these samples, see the readme file in this folder.
Note The samples are not installed on your machine during setup. To use the samples, you need to copy the sample directories to your hard drive. See the readme files for more details.