VB6 - multiple projects

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

Moderator: SourceGear

Post Reply
A Cripps

VB6 - multiple projects

Post by A Cripps » Mon May 10, 2004 4:57 pm

Hi,

Vault 2.0.2
Windows 2000 Professional
Visual Basic 6 SP6

I'm having some trouble using Vault with multiple projects using VB6. I have the server and the client on the same machine - single user - evaluating the product.

I have a number of projects in a single folder locally. If I open one project it asks me if I want to add the project to SourceGear Vault. I select yes then use my profile to log into SourceGear and add the project to a repository - this creates a folder under $ with the project name and I add the project files. If I close the project then re-open the project then everything seems to be working OK.

If I select another project I go through the same process with a second folder being created under $ in the repository containing all the project files. If I close this project then re-open it everything is working fine as well.

The problem occurs if I return back to the original project - I am then asked if I want to add the project to SourceGear Vault again. If I select yes then use my profile to log into sourcegear and leave the folder as the project name it pops up a message telling me that all available files have already been added to source control. If I return back to the second project the same thing occurs.

Looking at MSSCCPRJ.SCC I have something like

SCC = This is a source code control file

[Project.vbp]
SCC_Aux_Path =http://localhost/VaultService|myname:2
SCC_Project_Name =$/Project

When I switch to Project2.vbp then Project is replaced by Project2. There never seems to be two projects listed.

Is this normal behaviour? Maybe I am doing something totally wrong. If I am any pointers to how I should be incorporating these projects into SourceGear would be greatly appreciated.

Thanks.

Aaron

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Tue May 11, 2004 7:26 am

It isn't anything you are doing wrong - it looks like VB6 is not adding the other projects to your MSSCCPRJ.SCC file.

You might try adding the other projects manually to that file (following the same format), and perhaps VB6 will recognize them. Otherwise, you may need to break your projects into separate folders.

Post Reply