Knowledge Base

PRB: Unexpected Message: "Add this project to SourceSafe" in VB

Article ID: 174651

Article Last Modified on 5/1/2001


APPLIES TO


This article was previously published under Q174651

SYMPTOMS

When you double-click on a Visual Basic project from Windows, you receive the following Visual SourceSafe integration message:
Add this project to SourceSafe?
even though you have already placed this project under Visual SourceSafe control.

CAUSE

When you double-click on a .vbp file with a long name format from Windows 95 or Windows NT, the project is opened with the name converted into an 8.3 format.

Visual SourceSafe integration originally added the .vbp as a long file name project, so the integration is not recognizing the short name and the long name as the same project.

RESOLUTION

Do one of the following:

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new Visual Basic project, and save it with a name more than 8 characters (for example, TheLongNameProject.vbp).
  2. Add the project to Visual SourceSafe.
  3. Close Visual Basic.
  4. Double-click the .vbp file in Windows Explorer.
  5. You see the "Add this project to SourceSafe?" dialog box even though you just added the project in step 2.
  6. If you click "No", the project filename is "THELON~1.VBP" in the Visual Basic Project Explorer. If you click "Yes", Visual SourceSafe will not recognize it as the same project and try to add it again using the short name.

Additional query words: source code launch

Keywords: kbinterop kbprb KB174651