VB6 Project Binding

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
josd
Posts: 9
Joined: Thu Nov 19, 2009 9:34 pm

VB6 Project Binding

Post by josd » Wed Dec 02, 2009 9:45 pm

We have just migrated to Vault 5.0.1 from SourceSafe, and are using VB6 IDE.
Often we need to Get Latest Version to a different folder than the current working folder. When I do a Get Latest Version, the MSSCCPRJ.SCC file is not created. As far as I can tell this is only created when I open my project file, which then asks me if I want to add the project to Vault, which I do not as it is already there. The MSSCCPRJ.SCC is then created but without any bindings to my project. I can get around this by Selecting ‘Create Project From SourceGear Vault’ from the VB6 IDE when my project is open, but I have over 40 projects and this is a very tedious task everytime I want to Get Latest to a new location.
Is there a way to bind all my projects while Getting Latest, as Source Safe did automatically?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: VB6 Project Binding

Post by lbauer » Thu Dec 03, 2009 12:30 pm

I did some testing, moving VSS VB projects into Vault and then creating from Vault. There isn't an automated way to get your VB project bound to Vault. Vault doesn't create the MSSCCPRJ.SCC file on get, only when you Create Project from Vault in VB 6 or Add Project to Vault. I've logged feature request 15115 to automate this in a future release.

You might also be able to examine the new MSSCCPRJ.SCC file after creating a project from Vault and write a script that creates MSSCCPRJ.SCC files for your other projects with the proper entries in these lines:

Code: Select all

SCC_Aux_Path =
SCC_Project_Name=
Linda Bauer
SourceGear
Technical Support Manager

Post Reply