Extending Visual SourceSafe by using C#

M

mjewett

Hi all,

Here's the deal: I need to extend VSS (6.0) by coding a DLL add in.
I've read all (not much out there) of the documentation on this,
however, it's either grossly out of date (examples using Visual
Studio 6) or the code snippets are in VB (5.0!). So I was wondering
if anyone out there has done this before? Specifically, I need to be
able to trap VSS events (ie: "AfterCheckIn") by implementing the
IVSSEventHandler interface. I'm doing something wrong, because I just
cannot get my code to work. If anyone has some code examples of this
in the .NET development environment using C# that work and would like
to share - would be very grateful - Thanks much!

- Matt
 
N

Nicholas Paldino [.NET/C# MVP]

Matt,

The only way that you are going to be able to do this is to create COM
components that you can export from .NET. Also, I imagine that some sort of
special registration (so that SourceSafe knows where your plug-ins are) is
required.

Are you doing both of these?


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

mjewett said:
Hi all,

Here's the deal: I need to extend VSS (6.0) by coding a DLL add in.
I've read all (not much out there) of the documentation on this,
however, it's either grossly out of date (examples using Visual
Studio 6) or the code snippets are in VB (5.0!). So I was wondering
if anyone out there has done this before? Specifically, I need to be
able to trap VSS events (ie: "AfterCheckIn") by implementing the
IVSSEventHandler interface. I'm doing something wrong, because I just
cannot get my code to work. If anyone has some code examples of this
in the .NET development environment using C# that work and would like
to share - would be very grateful - Thanks much!

- Matt



----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption
=---
 
M

mortb

One might hink that it is high time to make a new upgraded release of VSS
That win3.11 look and feel is getting kinda retro...


Nicholas Paldino said:
Matt,

The only way that you are going to be able to do this is to create COM
components that you can export from .NET. Also, I imagine that some sort of
special registration (so that SourceSafe knows where your plug-ins are) is
required.

Are you doing both of these?


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

mjewett said:
Hi all,

Here's the deal: I need to extend VSS (6.0) by coding a DLL add in.
I've read all (not much out there) of the documentation on this,
however, it's either grossly out of date (examples using Visual
Studio 6) or the code snippets are in VB (5.0!). So I was wondering
if anyone out there has done this before? Specifically, I need to be
able to trap VSS events (ie: "AfterCheckIn") by implementing the
IVSSEventHandler interface. I'm doing something wrong, because I just
cannot get my code to work. If anyone has some code examples of this
in the .NET development environment using C# that work and would like
to share - would be very grateful - Thanks much!

- Matt



----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via
Encryption
=---
 
M

mjewett

Hi Nicholas Paldino [.NET/C# MVP] -- yeah, I know about registering
the add-in and creating the COM component in the first place --
that's not the issue that I'm having. I'm just trying to get my
interface to compile correctly and can't seem to get it "write"!
Soooo was wondering if others had done this in order for me to see
how and make the appropriate changes to my code. It's either that or
I just post the bits of my own code and let everyone take a look and
see why it's not compiling correctly...??

- Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top