Source Safe Object Lib

  • Thread starter Thread starter Patrick Hill
  • Start date Start date
P

Patrick Hill

hi,
I'm writting a program that will do the following:
Connect to source safe. In source safe we have a file for documentation
called releasenotes.csv

What we want to happen is get the differences for the file so we can seee
what changes were made to our program. We have this file labeled... so what
we want to do is give the input of the label... then the system should get
that file and show the differences from that label to the current one. does
this make sense?

I've never useed VB.Net to connect to source safe so I need really detailed
instructions or a website where I can find them:

More detail:
File is located here:
$/ArrowHHS/3.0/Documentation/Releasenotes.csv we have multiple labels on the
file. we want to feed the program a label say 3.0.6.11 and get all the
changes in that file from label 3.0.6.11 and on.

So if there were 20 changes from label 3.0.6.11 to 3.0.6.15

we only want to see the 20 changes.

Any ideas?
 
Patrick@Arrow- said:
I'm writting a program that will do the following:
Connect to source safe. In source safe we have a file for documentation
called releasenotes.csv

What we want to happen is get the differences for the file so we can seee
what changes were made to our program. We have this file labeled... so what
we want to do is give the input of the label... then the system should get
that file and show the differences from that label to the current one. does
this make sense?

Connecting with SourceSafe is certainly possible using the COM API that
already exists (add a reference to "Microsoft SourceSafe 6.0 Type
Library"). However, this API is just for the basic sourcesafe
operations -- get, check-in, check-out, delete, label, branch, etc...
Things like a "diff" are not done by VSS, but instead by some 3rd party
app (like Microsoft's SourceSafe Explorer or WinDiff).

I don't see anything in the API for performing diffs. You'd have to do
that yourself -- or integrate with some diff tool.
 
Ok Thanks

Patrick Steele said:
Connecting with SourceSafe is certainly possible using the COM API that
already exists (add a reference to "Microsoft SourceSafe 6.0 Type
Library"). However, this API is just for the basic sourcesafe
operations -- get, check-in, check-out, delete, label, branch, etc...
Things like a "diff" are not done by VSS, but instead by some 3rd party
app (like Microsoft's SourceSafe Explorer or WinDiff).

I don't see anything in the API for performing diffs. You'd have to do
that yourself -- or integrate with some diff tool.
 
Back
Top