![]() |
Web Development »
Applications & Tools »
Tools with source code
Intermediate
Effective SourceSafe - shell extension for SourceSafeBy David Y. ZhaoA shell extension enabling basic SourceSafe functionalities in Windows shell. |
C++Win2K, WinXP, Visual Studio, Dev
|
|
Advanced Search Add to IE Search |
|
|
|
||||||||||||||||

Effective SourceSafe is a shell extension enabling basic SourceSafe functionalities in Windows shell. With this extension you can check in/out your source files directly in Windows Explorer. It has only been tested under Windows 2000/XP with SourceSafe 6.0, but it should work on older versions too. However, overlay icons will require ME or later.
For installation, type the following command in Start->Run:
regsvr32 x:\path_to_this_file\EssShell.dll
For uninstallation, type the following command in Start->Run:
regsvr32 /u x:\path_to_this_file\EssShell.dll
Then you must restart Windows Explorer by either logoff and login or restarting computer, otherwise the Ess icons won't be loaded by Explorer.
You need to specify a profile (VssShell.ini file) to specify SourceSafe database, and which files to be included for the shell extension. A typical profile looks like:
[Common]
profiles = 1
OverlayIcons = true
[Profile_1]
VSSData = E:\VSSData\srcsafe.ini
User = David Yuheng Zhao
Pwd =
VSSRoot = $/
LocalRoot = E:\Projects\
Include_1 = *.*
Exclude_1 = *\Debug\*.*
Exclude_2 = *\*Release*\*.*
Exclude_3 = *\Output\*.*
Exclude_4 = *.bsc
Exclude_5 = *.ilk
Exclude_6 = *.obj
Exclude_7 = *.res
Exclude_8 = *.pch
Exclude_9 = *.pdb
Exclude_10 = *.aps
Exclude_11 = *.vssscc
Exclude_12 = *.*~*
Exclude_13 = *.scc
Exclude_14 = dlldata.c
Exclude_15 = *.ncb
Exclude_16 = *.positions
Exclude_17 = *_i.c
Exclude_18 = *_p.c
Exclude_19 = *_h.h
Exclude_20 = *.tmp
Exclude_21 = thumbs.db
You must specify the correct path to the SourceSafe database (VSSData), user name (User) and password (Pwd). Then you also need to specify a project (VSSRoot) from VSS (e.g. $/ or $/my_project/) and the corresponding local path (LocalRoot).
Files to be monitored are defined by "include" and "exclude" rules, the default rules are for Visual C++ projects where compiler generated files are excluded.
The INI file will be reloaded automatically when you save the file.
If you have given correct parameters in essshell.ini, you should get some additional menu items when you right click any source file in the project folder. Please note that only relevant actions are available:
Items marked with (*) are only displayed when you hold shift key when you right click at the item. When you hold shift key, (R) may appear on several menu items, then these commands will be performed recursively.
OverlayIcons to false.
DLL_PROCESS_DETACH and an exception arises. If you are familiar with this kind of problem, please advise me. You can disable overlay icon to avoid this problem, or just wait for a while before closing any open/save dialog.
Effective SourceSafe is a freeware, so use it freely. If you like it and find it useful, please tell your friends about it. The latest information will be available here.
Version 0.1
Copyright � Ministars Software & David Y. Zhao 2001-2002.
All rights reserved.
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 7 Jan 2002 Editor: Smitha Vijayan |
Copyright 2002 by David Y. Zhao Everything else Copyright © CodeProject, 1999-2009 Web21 | Advertise on the Code Project |