Article ID: 163407
Article Last Modified on 7/13/2004
oSSafe = CREATEOBJECT("SourceSafe")
* Syntax is object.open(path to srcsafe.ini, username, password)
oSSafe.open("C:\vss\srcsafe.ini","guest","")
* The next 2 lines show some of the object's properties
? oSSafe.username
? oSSafe.currentproject
* The next line assumes FoxApps is the Visual SourceSafe project and
* Tastrade is a subproject
oFile = oSSafe.vssitem("$/FoxApps/Tastrade/main.prg")
oFile.Checkout()
oFile.Checkin()
For more information on the Visual SourceSafe object model, you can use a
tool such as the Visual Basic object browser. Documentation is also
available on the World Wide Web at:
Keywords: kbhowto kbinterop kbautomation KB163407