×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Email alert, if files checked in/out

Email alert, if files checked in/out

Email alert, if files checked in/out

(OP)
Hello,
   I would like to know, if VSS can send an email alert, if files are checked IN/OUT.

Thanx in advance,
Gautam

RE: Email alert, if files checked in/out

You have two options, code your solution, or buy a 3rd party application.

Microsoft has information on how to do this at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvss/html/vssauto.asp

The only application I've seen that will do this is SourceVizor (http://www.teamvizor.com).

I coded my own solution by creating an add-in DLL that traps certain events.  For the e-mail notification, I use the BeforeCheckIn and AfterCheckIn event handlers to generate the email.

kamikrazy@yahoo.com

RE: Email alert, if files checked in/out

The microsoft article that Kamikrazy suggests looks really good - it takes you through all the detail required to create an ActiveX DLL to interface with SourceSafe.  I've read through it, and now started using it, but I have a runtime error with VB:-

"User defined type not defined" - which refers to the VSSApp bit in the code below.


Implements IVSSEventHandler
Dim WithEvents VSSHandler As VSSApp


I've added the SourceSafe Type Library to my project references.  Does anyone what I need to include/define in order to get VSSApp recognised?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close