HOWTO: Load the Visual Basic Sample Projects into SourceSafe

Last reviewed: May 22, 1997
Article ID: Q168833
The information in this article applies to:
  • Microsoft Visual SourceSafe, 16-bit and 32-bit, for Windows, version 4.0
  • Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 5.0
  • Microsoft Visual Basic Standard, Professional, and Enterprise Editions 16-bit and 32-bit, for Windows, version 4.0

SUMMARY

There is more than one way to add a Visual Basic project to Visual SourceSafe. The most common way for Visual Basic developers to add a project to Source Code Control (Visual SourceSafe) is to use the "Add Project to Source Code Control" add-in menu item. This adds the currently open Visual Basic project to Visual SourceSafe, if it is not there already. More information on how to do this is in Visual SourceSafe Help under the topic "Add Project To Source Code Control".

Visual Basic projects can also be added directly to Visual SourceSafe, via the Visual SourceSafe Explorer. In fact, an entire directory structure of projects can be added at one time. This article gives you step-by-step instructions on how to add the entire set of Visual Basic sample projects to Visual SourceSafe.

MORE INFORMATION

The simplest way to add the Visual Basic Samples directory (with all its projects) to Visual SourceSafe is to drag it from the File Manager or Windows Explorer and drop it onto the Visual SourceSafe Root directory ($/).

Steps to Drag-and-Drop into Visual SourceSafe

  1. Open both the Windows File Manager/Windows Explorer and the Visual SourceSafe Explorer. Tile the two applications so that they are both visible.

  2. Select the Visual Basic SAMPLES directory in the File Manager/Windows Explorer and drag the directory on top of the $/ folder in Visual SourceSafe. Drop it there.

  3. The "Add Directory Samples" dialog box appears. Attach a Visual SourceSafe comment to the project, if you wish. Select the recursive check box so that all the subdirectories are loaded. Click OK and the entire directory structure is added to Visual SourceSafe.

You can also add the Visual Basic Samples directory to Visual SourceSafe by using the File, Add Files... menu in the Visual SourceSafe Explorer.

Steps to Add Project Files into Visual SourceSafe

  1. Select the $/ folder in the Visual SourceSafe Explorer.

  2. Select the File, Add Files... menu item.

  3. In the directories portion of the "Add File to $/" dialog box, make sure that you have the Visual Basic SAMPLES directory selected (folder open). Press the Add button on this dialog box.

  4. A second dialog box will display which allows you to add a SourceSafe comment to the project, if you wish. Check the recursive box so that all the subdirectories get loaded. Press OK; the entire directory structure will be added to Visual SourceSafe.


Keywords : IAPThird kbusage
Version : 4.0 5.0
Platform : WINDOWS
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.