Using Source Code Control
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.
Microsoft® Office XP Developer provides source code control using Microsoft® Visual SourceSafe™, which is available in the Office XP Developer package. As a stand-alone developer, source code control gives you the immediate benefits of versioning. You might have made some recent changes and then decided to revert back to an earlier version. With Visual SourceSafe, you can easily recover the previous code.
Each time you begin a new Office application, you can benefit from source code control by using Visual SourceSafe. If you are part of a team developing a large application, automated source code control provides a significant advantage. When many people work together to create, support, and update source code files for a large application, the coordination of files and updates is a complex process. Visual SourceSafe provides stable, easy-to-use source code management to keep the team's developers in sync with each other's changes.
The following sections acquaint you with how to install and use Visual SourceSafe with your Office application.
In This Section
- Setting Up Visual SourceSafe
Getting started with Microsoft® Visual SourceSafe™ begins with setting up and connecting to a Visual SourceSafe project. - Choosing the Right Source Code Control Add-In
There are two Microsoft® Office XP Developer add-ins that provide source code control: Access Source Code Control add-in and VBA Source Code Control add-in. - Using the Visual SourceSafe Add-In with the Visual Basic Environment
The VBA Source Code Control add-in included with Microsoft® Office XP Developer conveniently provides Microsoft® Visual SourceSafe™ functionality within the Office development environment. - Using Visual SourceSafe with Documents and VBA Code
When using the VBA Source Code Control add-in, it is important to understand that Microsoft® Visual SourceSafe™ stores the binary document by using Visual SourceSafe directly and stores the Microsoft® Visual Basic® for Applications (VBA) source code by using the VBA Source Code Control add-in. - Using Source Control with Access
When working with a Microsoft® Access database, you can store the database file (.mdb) and all its contained objects in Microsoft® Visual SourceSafe™ using the Access Source Control add-in.
Related Sections
- Sharing and Reusing VBA Objects
Import and export Microsoft® Visual Basic® for Applications (VBA) objects between projects.