Sharing and Reusing Source Code

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.

Note   In order to use the Code Librarian add-in, you must first load it into the Office environment. For information on installing the Office 2000 Developer add-ins, see Accessing Office 2000 Developer Tools.

Applications are typically developed around a common base of core code. Wouldn't it be nice to have a way to share these code snippets with the rest of your development team? Code Librarian does just that. It is a database for code snippets, functions, or modules that might be useful to other developers.

The Code Librarian is a stand-alone application that makes it easy to share your own source code and search for code developed by others. You can select functions, change the name, change the description, and specify search criteria. You can also create new code snippets and delete existing ones.

The Code Librarian comes with a database of commonly used code. This database is located in Office 2000 Developer directory at ..\Microsoft Office\ODETools\V9\CodeLib.mdb.

Note   Because the Code Librarian is a stand-alone application, it can be used with other development environments, including Visual Studio. For more information about using Office 2000 Developer tools with Visual Studio, see Enhancements for Visual Studio Users.

For information about See
Using the Code Librarian to find code and insert it into your project Sharing Code using the Code Librarian
Modifying existing or creating new code databases Customizing Code in the Code Librarian