VB6 beginners tutorial - Learn VB6

Advanced VB6 tutorial - Learn Advanced VB6

Systems Analysis - System analysis and Design tutorial for Software Engineering

You are here: Visual Basic > Advanced VB6 tutorial > Chapter 2

Source-Code Labeling and Version Numbers Visual SourceSafe Project

Visual SourceSafe can maintain a history of each check-in of a file as well as the actual contents of all the versions of a file when the versions were checked in.

Visual SourceSafe assigns an incrementing version number (always a whole number) to each checked-in version of a file. Visual SourceSafe also maintains a date-time stamp that helps to identify the version.

Visual SourceSafe's automatically assigned version numbers can be useful for tracking the modification history of a file.

The most useful version-tracking feature of Visual SourceSafe is the user-assigned label. A user of Visual SourceSafe can assign a label to all the files in a project at a given moment. Later Visual SourceSafe operations can manipulate the files as a group.

Assigning labels is one of the primary ways that you can continue to identify a particular version of a product, even after subsequent changes.

Although it is possible to assign labels to individual files in Visual SourceSafe, it is more typical to label an entire project. To label the current version of a project, follow these steps:

2.6 Labeling the Current Version of a VSS Project

  1. In Visual SourceSafe Explorer, select the project.

  2. Choose File, Label from the Visual SourceSafe menu.

  3. In the resulting Label dialog box, type the label that you want to give to this version of the project. Typically, this
    label will be something along the lines of "Version 1.0" (see Figure 2.17).

  4. Click OK to apply the label.

    Labeling a project.
    FIGURE 2.17 - Labeling a project.


<< Previous | Contents | Next >>

Home | About Us | Privacy Policy | Contact Us

Copyright © | All Rights Reserved