Microsoft Office 2000 Developer Samples
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
There are a number of samples and templates provided with this release of Microsoft® Office 2000 Developer that can be found on the Office 2000 Developer CD. The samples contain comments in the code and are accompanied by a readme file for more information.
|Sample||Location on CD|
|Sample code associated with the chapters in the Office 2000/Visual Basic Programmer's Guide||..ODETools\V9\Samples\OPG|
|Templates and sample code for creating COM Add-Ins in Visual Studio applications||..ODETools\V9\Samples\Unsupprt\|
The samples are not installed as part of the setup process. To use these samples, copy them to your machine and modify them as needed.
Note For best results, the samples that accompany the chapters in the http://msdn.microsoft.com/en-us/library/cc376607.aspx must be installed in the C:\OPG directory on your machine. You can use the Setup.exe program in the ..ODETools\V9\Samples\OPG folder on the Office 2000 Developer CD to install the sample files in the correct location. Many of the samples contain code requiring the sample files to be in the specified path.
If you would like to install the samples elsewhere, you may need to modify the code for the sample to work correctly.
In addition to the samples provided on the Microsoft Office 2000 Developer CD, the Code Librarian database contains numerous code snippets that can be easily inserted into your code module. Many of the samples in the Microsoft Office 2000/Visual Basic Programmer's Guide are also included in the Code Librarian database.
For more information about using the Code Librarian, see Sharing and Reusing Source Code.
For more information about creating COM Add-Ins using templates with Visual Studio®, see Enhancements for Visual Studio Users.