Microsoft Office 2000 Developer   

Setting Up Visual SourceSafe

See Also

Getting started with Visual SourceSafe begins with setting up and connecting to a Visual SourceSafe project. When you use Visual SourceSafe, your files are stored in a project, providing both safe storage and important historical information and version tracking. With the source control add-ins, you do not need to run Visual SourceSafe separately to realize the advantages of source code control.

The steps to integrating Visual SourceSafe into your Office 2000 development environment include:

For more information about setting up Visual SourceSafe, see "Setting Up Source Control with the Microsoft Development Environment" in the MSDN™ Library. For additional information about using Visual SourceSafe, see the Visual SourceSafe documentation.

Installing the Visual SourceSafe Application

Generally, your Visual SourceSafe administrator installs Visual SourceSafe on a network server for you and then adds your name to the database user list. You can also install the Visual SourceSafe application from the Office 2000 Developer CD. Simply run the setup program, and select the option to install Visual SourceSafe.

There are three Visual SourceSafe setup options:

Assigning User Permissions

Before you can access the database, you need to assign the appropriate permissions. You can also assign user permissions to other team members who want to share the files in your database. Use the Visual SourceSafe Administrator to add, change, or delete user permissions and passwords for your database.

Connecting to a Visual SourceSafe Database

You can connect to the database using either the Visual SourceSafe application, or through the source control add-in.

To connect to a Visual SourceSafe database from the Visual SourceSafe application

  1. Start the Visual SourceSafe application.

  2. From the File menu, click Open SourceSafe Database, and select one of the databases in the list box (such as Microsoft® Visual Studio®).

You can use this command to select an existing database from a Visual SourceSafe project that someone else has already created. This is how you enlist in a multideveloper project that someone has already set up.

To connect to a Visual SourceSafe database from the source control add-in

  1. For the Visual Basic for Applications (VBA) Source Control add-in, in the Visual Basic Editor, select the VBA Source Control add-in from the Add-Ins menu.

    For the Access Source Control add-in, select SourceSafe from the Tools menu.

  2. The first time you access source control a logon box appears. Fill in the appropriate information for your database.

  3. The source control options change on the menu.

You can now place items in your project under source control.