Automating Source Safe

  • Thread starter Thread starter Peter Tragardh
  • Start date Start date
P

Peter Tragardh

Is it possible to automate Source Safe the way Office is
automated by writing your own code? What I would like to do is
to create some code to enhance Source Safe, to customize it.

There is an official object model for Office. Does one like it
exist for Source Safe?

/Peter
 
Peter,

I believe that there is an Automation object model for Source Safe, but
I don't think it is like the Office model. However, because there is an
Automation object model for it, you should be able to access the components
of Source Safe easily using COM interop in .NET.

Looking in the library for MSDN, if you search for "SourceSafe" and
"Automation", you will get a number of hits. Check out the article titled
"Microsoft Visual SourceSafe OLE Automation", located at (watch for line
wrap):

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvss/html/msdn_vssole.asp

Hope this helps.
 
Peter, yes, it is possible. Add a reference in your project to "Microsoft
Sourcesafe 6.0 Type Library". That will give you access to all of the SS
objects.
 
Peter, yes, it is possible. Add a reference in your project to
"Microsoft Sourcesafe 6.0 Type Library". That will give you access to
all of the SS objects.

I've been looking at automatin Office with C# and found the Primary
Interop Assemblies for it. Does anything similar exist for MSS 6.0?
 
Peter, no, not yet. I wouldn't be surprised if they were released at some
point though.
 
Back
Top