473,569 Members | 2,572 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Source Safe Integration

Sam
Does anyone know if the .NET Framework defines a set of classes that allow you to access Visual Source Safe within your C# programs

I know there is some type of COM interface (http://msdn.microsoft.com/library/de...asp?frame=true) that allows programmers to access Visual Source Safe from a VB or C++ app, however; I hoping to avoid accessing non-managed code from my C# apps
Nov 15 '05 #1
3 1954
i believe that source safe is a com object with a defined interface. I'm not
sure where i got that from though so it may not be correct, but it doesn't
hurt to check up on it.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Sam" <sa************ **@intel.com> wrote in message
news:D9******** *************** ***********@mic rosoft.com...
Does anyone know if the .NET Framework defines a set of classes that allow you to access Visual Source Safe within your C# programs.
I know there is some type of COM interface (http://msdn.microsoft.com/library/de...-us/dnvss/html
/vssauto.asp?fra me=true) that allows programmers to access Visual Source
Safe from a VB or C++ app, however; I hoping to avoid accessing
non-managed code from my C# apps.

Nov 15 '05 #2
To the best of my knowledge there is no managed interface. IF VSS is like
VS.NET, the interfaces are all still unmanaged C++ and COM interfaces. I
don't if this will change as it is starting to for VS.NET.

--
--------------------------------------------------------------
Sam Gentile [C#/.NET MVP]
..NET Blog http://samgentile.com/blog/
MSDN Column:
http://msdn.microsoft.com/library/de...tml/bridge.asp
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
---------------------------------------------------------------
"Sam" <sa************ **@intel.com> wrote in message
news:D9******** *************** ***********@mic rosoft.com...
Does anyone know if the .NET Framework defines a set of classes that allow you to access Visual Source Safe within your C# programs.
I know there is some type of COM interface (http://msdn.microsoft.com/library/de...-us/dnvss/html
/vssauto.asp?fra me=true) that allows programmers to access Visual Source
Safe from a VB or C++ app, however; I hoping to avoid accessing
non-managed code from my C# apps.

Nov 15 '05 #3
Not exactly, but you can still interact with source control via VS.net:

VS.Net does define an API for interacting with VS.Net projects. If the
target project happens to be in source control, you seem to get the source
control interaction automatically.

Example:
I have a code generator that can create a lot of wrapper classes for
accessing tables in a database. The generator is a VS.Net plugin. When I
added project automation (so that it automatically adds the files that it
generates to the open project in VS.net), I found that I VS.Net
automatically handled some of the source control issues (like checking out
the project prior to adding the files, etc.

I expect that the interation that you get automatically will pretty much
follow the interaction that you get when you interact with a project or
files in the IDE. If you need more than that, VSS exposes that
funcationality via COM objects.
"Sam" <sa************ **@intel.com> wrote in message
news:D9******** *************** ***********@mic rosoft.com...
Does anyone know if the .NET Framework defines a set of classes that allow you to access Visual Source Safe within your C# programs.
I know there is some type of COM interface (http://msdn.microsoft.com/library/de...-us/dnvss/html
/vssauto.asp?fra me=true) that allows programmers to access Visual Source
Safe from a VB or C++ app, however; I hoping to avoid accessing
non-managed code from my C# apps.

Nov 15 '05 #4

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

Similar topics

7
1207
by: Rosanne | last post by:
I've taken over a vb.net application. Any time I open an aspx page i visual studio, I get the "check out" box from visual source saf telling me that I cannot edit files without checking them out first. This box appears as soon as the page is opened - before I even have chance to make any changes. The problem seems to be with 2 @registe tags...
2
1425
by: JOSE RIVAS | last post by:
HI PLEASE HELP Im making a program, that makes a process (OCR process) so i reach to automate it in order to open a file ("c:\image.bmp") and then executes the ocr process ok.. it is working fine.. i just need to change that static route ("c:\image.bmp") for a parameter and generate a dll or exe file.. cause i will send via VFOXRO this...
1
7076
by: Andy | last post by:
This is driving me to insanity!!! I do not have a lot of experience with IIS which probably is not helping but as far as I can tell I am do things as per the MSDN documentation. I have a solution in Source Safe that I want to add some web service projects to. I create a folder under my solution folder for the new web service project. I...
0
3324
by: fiona | last post by:
Innovasys Ltd., a leader in help authoring and documentation tools, today announced the inclusion of a tailored version of the Innovasys HelpStudio help authoring product, HelpStudio Lite, in the Microsoft Visual Studio 2005 Software Development Kit. By providing a full help authoring environment within the Visual Studio 2005 SDK, Innovasys...
8
7045
by: olrt | last post by:
Hello, I plan to install Visual C# 2005 Express. I need a source code control system. It seems that there's no express version of Visual Source Safe. What should I do ? Is Visual C# 2005 Express "compatible" with open source CVS system ?? Thanks !! Olivier.
2
1826
by: clintonb | last post by:
Using Visual Studio 2005, I created a new website: File->New->Web Site and chose the ASP.Net Web Site template. Saved it in location c:\Projects\GCSLRMS_DotNet\WS\WebSite1. It created the solution file: C:\Documents and Settings\clintb.GCSSOFTWARE\My Documents\Visual Studio 2005\Projects\WebSite1\WebSite1.sln I didn't want it there. I...
1
3772
by: Ronald S. Cook | last post by:
Is Visual SourceSafe 2005 client compatible with 6.0 repository? Thanks, Ron
1
3586
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,...
1
19821
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...
0
7700
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7614
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...
0
7924
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. ...
0
6284
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...
0
5219
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...
0
3653
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...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2114
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
0
938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.