Click here to Skip to main content
Licence 
First Posted 2 Oct 2003
Views 34,084
Bookmarked 13 times

Get Latest Version Of Multiple Projects With One Click

By | 31 Oct 2003 | Article
Get multiple projects with one click, using automation.

Sample Image - SourceSafeGet.jpg

Introduction

Sometimes it happens that you have to get multiple projects to release the last version of your COOL application... this is because you use lots of components, developed from lots of coders in your team and other teams in your company. So, to automate this task, I wrote this simple app that uses the automation feature of Microsoft Visual SourceSafe.

How it works

Simply open the application and select the srcsafe.ini file of your database. Be careful, your login information will be stored in the SourceSafeGet.ini file, so everyone could see it (your source safe PASSWORD, your source safe USERID). After login, you can browse the source safe projects and add the ones you want to download, in one click.

Notes

Please read carefully these notes:

The GET operation cannot be stopped. Pressing the STOP button, you can stop the NEXT project get.

File will be always be retrieved without overwriting your checked files and getting all subprojects recursively.

And again, remember that your login information will be stored in the SourceSafeGet.ini file, so everyone could see it (your source safe PASSWORD, your source safe USERID).

This application has educational purposes and shouldn't be used in production/development environment. Use this application at your own risk.

Finally...

This was a five-hours-development to fit my needs. Feel free to modify the source code as you need, maybe you could add some more get-options, operation progress, etc.

Thanx to all CodeProject people for articles about automation and SourceSafe object model.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Massimiliano Conte

Software Developer (Senior)
Selex SI
Italy Italy

Member

Hi Smile | :)
I was born in 1970 (Augusta - Italy).
I live in Taranto - Italy.
I work in Taranto - Italy.
I like computer science!!!
That's all!

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralAutomation... PinmemberHoyaSaxa9310:30 4 Apr '07  
GeneralI'm missing something... PinmemberChris Meech6:49 3 Oct '03  
GeneralRe: I'm missing something... PinmemberJonathanLivingstone6:56 3 Oct '03  
GeneralRe: I'm missing something... PinmemberJonathanLivingstone7:26 3 Oct '03  
Generalthis is cool PinsussAnonymous3:52 3 Oct '03  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120517.1 | Last Updated 1 Nov 2003
Article Copyright 2003 by Massimiliano Conte
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid