Click here to Skip to main content
Click here to Skip to main content

Get Latest Version Of Multiple Projects With One Click

, 31 Oct 2003
Rate this:
Please Sign up or sign in to vote.
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 ES
Italy Italy
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!

Comments and Discussions

 
GeneralI'm missing something... PinmemberChris Meech3-Oct-03 6:49 
GeneralRe: I'm missing something... PinmemberJonathanLivingstone3-Oct-03 6:56 
GeneralRe: I'm missing something... PinmemberJonathanLivingstone3-Oct-03 7:26 

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.

| Advertise | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 1 Nov 2003
Article Copyright 2003 by Massimiliano Conte
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid