Solved

SourceSafe with N number of VB developers

Posted on 2000-04-14
2
162 Views
Last Modified: 2010-05-02
We have a VB project that is being developed by several users.  The project is under MS Visual SourceSafe version control.

The problem is that the .vbp file must be checked out to add a form, module, etc., but only one person can check the file out at a time.  So when I have it checked out to add a form, no one else can be adding a form or module.  In addition, once I check in the new form and the new .vbp file, the other developers have no idea that those files have been checked in unless they do a get latest version of the project file.

Now, maybe the VSS model we are using is wrong.  The basics are that the working files are in a directory \\server\UserX\app.  VSS puts these in as read-only for all files except those which have been checked out by UserX.

In other applications you can use a path statement to get around this problem.  If you use a Shadow folder in VSS, the checked-in files are written to \\server\dev\app.  UserX has his checke out or new files in \\server\UserX\app and so you set up a PATH =  \\server\UserX\app;\\server\dev\app.  Thus, any checked-out files are found by the app before the checked-in files.

Is there any way to do this in VB?  Or is there another way to solve this problem?
0
Comment
Question by:d_j_w
2 Comments
 
LVL 2

Accepted Solution

by:
chris_a earned 70 total points
ID: 2719325
There is an option called allow multiple check out that may do what you want.

What we do is to check in the VBP then just make it writeable on each developers PC. When you want to add a form [that has been tested!] you checkout, update and check in. This works fine because the other developers can pick up the newer vbp when they get the new forms.
0
 

Author Comment

by:d_j_w
ID: 2727483
Thanks.  That looks like it should work.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now