Microsoft KB Archive/150419

= PRB: "Add Files to SourceSafe" Add-in Menu Item is Disabled =

Article ID: 150419

Article Last Modified on 12/7/2001

-

APPLIES TO


 * Microsoft Visual SourceSafe 6.0 Standard Edition
 * Microsoft Visual SourceSafe 4.0 Standard Edition
 * Microsoft Visual SourceSafe 4.0 Standard Edition

-



This article was previously published under Q150419



SYMPTOMS
The "Add Files to SourceSafe..." command is disabled for projects which are already under Source Code Control. This is true even if you add a form, class, or module to your currently controlled project.



STATUS
The "Add Files to SourceSafe..." command is enabled until after the project is saved (via the Save Project command in the File menu). It is only enabled if there are files in the project which are not already under Source Code Control. This behavior is by design.



Steps to Reproduce Problem

 * 1) Start Visual Basic, and open a Visual Basic project which is in Visual SourceSafe via the "Open New SourceSafe Project" command in the Add-Ins, SourceSafe menu.
 * 2) On the Add-Ins menu, click SourceSafe. Note the "Add Files to SourceSafe..." command is disabled.
 * 3) Check out the .VBP (or .MAK) file for the project via the Tools menu.
 * 4) Insert a new form, module, or class to the project via the Insert menu.
 * 5) On the Add-Ins menu, click SourceSafe.

NOTE: The "Add Files to SourceSafe..." command is still disabled.

Steps to Demonstrate Behavior

 * 1) Follow steps 1-5 from Steps to Reproduce Problem section above.
 * 2) On the File menu, click Save Project to save the project.
 * 3) When asked to "Save File As", save the new form, class, or module to your local project working directory. When asked to "Add to SourceSafe," click the Cancel button to prevent the file from being automatically added to SourceSafe. At this point, the new form exists on your local machine, but SourceSafe does not have the file(s).
 * 4) On the Add-Ins menu, click SourceSafe. Note the "Add Files to SourceSafe..." command is now enabled. If you select this command, it displays the "Add to SourceSafe" dialog box, displaying all forms, modules, and classes which are not already under Source Code Control.

Keywords: kbprb KB150419

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.