473,799 Members | 3,740 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Automating Source Safe

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
Nov 15 '05 #1
4 7316
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/de...sdn_vssole.asp

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- nick(dot)paldin o=at=exisconsul ting<dot>com

"Peter Tragardh" <pe************ @hotmail.com> wrote in message
news:Xn******** *************** ***********@207 .46.248.16...
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

Nov 15 '05 #2
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.

--
Greg Ewing [MVP]
http://www.claritycon.com/
"Peter Tragardh" <pe************ @hotmail.com> wrote in message
news:Xn******** *************** ***********@207 .46.248.16...
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

Nov 15 '05 #3
"Greg Ewing [MVP]" <gewing@_NO_SPA M_claritycon.co m> wrote in
news:Oa******** ******@TK2MSFTN GP10.phx.gbl:
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?
Nov 15 '05 #4
Peter, no, not yet. I wouldn't be surprised if they were released at some
point though.

--
Greg Ewing [MVP]
http://www.claritycon.com/
"Peter Tragardh" <pe************ @hotmail.com> wrote in message
news:Xn******** *************** ***********@207 .46.248.16...
"Greg Ewing [MVP]" <gewing@_NO_SPA M_claritycon.co m> wrote in
news:Oa******** ******@TK2MSFTN GP10.phx.gbl:
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?

Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5633
by: Job Lot | last post by:
I am having loads of problem using vb.net project under visual source safe. I’ll start with How can I exclude source safe information from the project when I take a copy of project home? I don’t have source safe on my home pc. Every time I open project at home it gives me missing source safe file error. This is really annoying. How can I fix this? Thanks
2
2327
by: Lou | last post by:
Ok, I added my prject to source safe. It worked good for a week, then, one time I couldn't get to source safe and VB propmted to work offline, no I can't get any of my files back into source safe. Its as if the project is now disconnected from source safe. if I run source safe the start my VB app, I never get the source safe login??? -Lou
3
2602
by: yoda | last post by:
Hi Guys, I've been used to deploying code to the production server by checking out of subversion and manually sorting out any kinks. (yes, I know, it sounds primitive) I realize I'm losing so much time I could spend more productively. I'd therefore like to know the different approaches you guys employ to deploy builds from your staging servers (or laptops:) to the production server in an automated repeatable safe manner.
2
1534
by: Darren Clark | last post by:
HOw do i get source safe working with .net? I have source safe the server setup on our server... however on my machine when i go File > Source Control > All options are always greyed out. do i have to install the source safe client on my machine? i thought visual studio .net woudl at the very least have the client installed by default. I dont want to install visual studio 6 again.
0
7720
by: gm | last post by:
Immediately after generating the Access application from the Source Safe project I get: "-2147467259 Could not use ''; file already in use." If Access database closed and then reopened I get: "-2147467259 The database has been place in a state by user 'Admin' on machine ..... that prevents it from being opened or locked."
0
2637
by: WebSnozz | last post by:
I would like to add my binaries from the Release directory of several projects to source safe. My hope is that I can get latest, build the project, and then check-in so that the binaries are updated in source safe, and then can be used by others who are creating installers from those release binaries. I can add the files directly through the source safe client, but I prefer to use the VSS features through the VS IDE. If I add the...
1
3602
by: johnlim20088 | last post by:
Hi, Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in some files and work on it. Let say, I want add new page to web project named websiteOrder.sln, i will open websiteOrder.sln in my local computer, connected to websiteOrder.sln located in Visual Source Safe 6.0(source safe located in another...
1
19851
by: bharathreddy | last post by:
This Article gives an introduction to VSTS Team Foundation & fundamental difference between Visual Source Safe (VSS) and VSTS Team Foundation. Team Foundation is a set of tools and technologies that enable a team to collaborate and coordinate a project (software or non software projects). The team collaboration is achieved by several tools and features available as part of "Team Foundation". Team Foundation Server The Team...
15
1557
by: Desmond | last post by:
I used Source safe in Visual Studio 6 (2001) However in .net 2008 after installing it there seems to be no sign of any source safe. Has this been dis-continued. If not how do I set it all up. Desmond.
0
9541
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10485
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10231
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10027
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9073
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7565
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6805
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5463
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4141
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.