I have just moved into a position in which my office is trying to integrate
VSS into their development process and we are having a lot of difficulty in
trying to accomplish this. Essentially they have deveopled multiple VB 6.0
projects which share multiple objects but we cannot get VSS to see these as
shared objects. For example:
projecta.vbp includes folders "Forms", "Modules", "Class" and "Designers"
which each contain multiple files like "Forms/frmCalandar.frm"
projectb.vbp also includes folders "Forms", "Modules", "Class", and
"Designers" ect and includes the file "Forms/frmCalandar.frm"
Both projects carry shared objects from "Forms", "Modules" ect but also
carry unique objects from the same location
As far as directory structure it looks like this:
C:/Projects
C:/Projects/Forms
C:/Projects/Modules
ect
and the .vbp files are located in C:/Projects
I can get VSS to add each individual project but the tree is acting like
Forms, Modules, Class, and Designers are unique to each project and when I
share a file like frmCalandar.frm from projecta, it will not let me share
the same file from projectb but also does not treat them as the same file
(ie, it can be checked out from both projects at the same time).
I tried adding the shared object folders (ie: "Forms") to VSS as its own
project and sharring that, still no dice. Im stuck at this point with no
direction.
Please HELP!
Thanks,
Joleen

VB6/VSS Questions
Andreas Jaeger
Joleen -
I'm looking into the problem right now. I'll post a reply as soon as I can reproduce what is happening for you.
Pooneh
It looks like you have two projects that are sharing the same directory structure. I would strongly recommend that you use separate directories for each of the projects and then share the common files in SourceSafe.
So, instead of having C:\PROJECTS with shared directories for the two projects, I would have C:\PROJECTS\PROJECTA and C:\PROJECTS\PROJECTB, and have the corresponding VSS structure of $/PROJECTA and $/PROJECTB. You can then share the contents of the files either through the command line or by drag-and-drop in the SourceSafe Explorer.
Sharing the files in VSS will ensure that the files are identical in both of the projects. However, if you are trying to share two files in the same folder on the disk, VSS will not be able to differentiate the two files since they have exactly the same fully qualified file name.