Nov 11 2008

Using Visual SourceSafe – Integrating VSS with Visual Basic 6.0

Published by at 1:28 pm under SourceSafe

This article is a part of SourceSafe / VSS Tutorial

SourceSafe can be integrated into Visual Basic 6.0 to source control the VB forms, modules, class modules, etc.

 

To integrate SourceSafe with VB 6.0, we can do as follows:

1. Choose SourceSafe as the current source control provider.
For information on how to do it, refer to: http://www.kevingao.net/sourcesafe/microsoft-source-code-control-interface-msscci-registry-entries.html

2. Open VB 6.0 and check if the Source Code Control add-in is loaded through menu Add-Ins -> Add-In Manager.

If yes, we should be able to find the SourceSafe command under Tools menu.
If no, please edit the vbaddin.ini file by going to Start -> Run: vbaddin.ini and adding the line “vbscc=3 ” in the file.

 

3. Add the VB project into source control of SourceSafe by clicking menu Tools -> SourceSafe -> Add Project to SourceSafe.

Add VB Project to SourceSafe
(Add VB Project to SourceSafe)

 

4. In the following Log On to SourceSafe Database dialog box, enter the credentials to log on a VSS DB.

Log on to VSS Database
(Log on to VSS Database)

 

5. Choose a location in the VSS project tree to store the VB project.

Choose location to place the VB project
(Choose location to place the VB project)

 

6. Select the files we want to add into SourceSafe for source control and click OK.

Add VB files to SourceSafe
(Add VB files to SourceSafe)

 

7. Now, all of the files are under source control of SourceSafe. We can find the SourceSafe functions through menu Tools -> SourceSafe. We can also access some of the functions by right-clicking the file in the Project Explorer.

 

 

SourceAnywhere - the SQL Server-based SourceSafe Replacement The SQL Server-based Source Control Software Designed to be a SourceSafe Replacement SourceAnywhere for VSS - the Fastest SourceSafe Remote Access Tool Recommended by Microsoft The Fastest SourceSafe Remote Access Tool Recommeded by Microsoft

Links:
Previous article <<<<: Integrating SourceSafe / VSS with Visual C++ 6.0
Next article >>>>: Integrating SourceSafe / VSS with Access 2007
SourceSafe How To series home page: VSS / SourceSafe Tutorial

14 responses so far

14 Responses to “Using Visual SourceSafe – Integrating VSS with Visual Basic 6.0”

  1. reemaon 19 Nov 2008 at 11:57 pm

    Thankyou… I was Searching for it

  2. Benon 31 Mar 2009 at 4:18 am

    I have installed VB6 on my laptop running vista. I also have VSS 2005. I cannot find the vbAddin.ini file… HELP!

  3. Kevin Gaoon 03 Jun 2009 at 12:42 am

    Ben,

    It seems you need to install something like VB Add-in Manager. I am not exactly sure. but I did use VB6 with VSS many years ago.

    Thanks.

  4. Viktoron 08 Jun 2009 at 11:36 pm

    Exactly the same ! Working Fine.

  5. Lethargoon 22 Dec 2009 at 5:36 am

    Thx alot, I nearly got mad trying to get VSS running in VB6 on my new PC

  6. David Allawayon 27 Feb 2010 at 7:32 am

    I am using SourceSafe 6.0 with Visual Studio 6, and I am using SourceSafe
    2005 with Visual Studio 2005.
    I want to also store some Word 2003 & Excel 2003 VBA Macros in SourceSafe.
    I believe I need the VBA Source Code Control Add-In.
    I believe this come as part of Office XP Developer which is no longer
    available to download.
    Any idea how I get this Add-In or get Office XP Developer or is there another way?

  7. [...] Previous article <<<<: Integrating SourceSafe / VSS with Visual Basic 6.0 Next article >>>>: Integrating SourceSafe / VSS with Access 2003 SourceSafe How To [...]

  8. santhoshon 22 Feb 2011 at 10:07 pm

    Understood it but how come i know my id and password

  9. Luis Bragadoon 24 Feb 2011 at 1:13 pm

    Thanks man, your articles about VB6 with Source Safe 2005
    helped me a lot :)

  10. RaviRSon 26 Sep 2011 at 4:58 am

    If you are looking at connecting VB6 SP6 client to your TFS 2010 server, this link should be useful.

    Installing the Team Foundation Server MSSCCI Provider 1.2 (Steps for Visual Basic 6)

    http://myalmblog.com/2007/01/03/installing-the-team-foundation-server-msscci-provider-1-2-steps-for-visual-basic-6/

  11. Federicoon 22 Nov 2011 at 10:56 am

    Existe algún integrador como el MSSCCI, pero que aplique en VB5 y TFS?
    Gracias de antemano.

  12. Federicoon 22 Nov 2011 at 11:16 am

    Again. there exist an integration for VB5 and TFS? like MSSCCI.
    thanks in advance.

  13. Stevenon 16 Dec 2011 at 7:49 am

    Hi!

    I added the project to VSS but when I want to add a new form the program says that “the PROJECT1.vbp is read only”, what can i do?

    and I have another Question.

    how can i work offline and update the source code to VSS later?

    Thanx

  14. Ajayon 17 Jan 2012 at 5:28 pm

    Nice, it helped me lot.

Trackback URI | Comments RSS

Leave a Reply