This tool offers an interface to choose all installed SCC providers instead of just using the default provider in SCC integration.
MS has defined an interface between SCC systems, for applications that want to interact with these systems. The interface is exposed through a DLL supplied by the SCC provider. More than one SCC can be installed at one site, but one of them should be specified as the default SCC provider. Most tools - e.g. VCx - support only this default provider. Others like Kawa or VS.NET let you choose the one to use. As you can see, some tools in environments where people frequently switch between SCC providers are uncomfortable to use. You have to switch the SCC systems in the registry by hand.
Take this little program! It has three purposes:
- Give a visual clue to which SCC provider is currently active
- Provide an interface to change between SCC providers
- Start the UI of the current provider
- Copy the program to a location you like.
- Start it, and it will add itself to the taskbar.
- Click with the right mouse button to display the menu.
- Choose the provider you like to use.
Remember: the change will not be reflected in running apps. You must restart them to get the new setting.
- Choose "Start SCC Interface" or double click with the left button to start the user interface of the "current" provider.
- Click with the left button to display a menu with all SCC providers. Choose the one you'd like to start.
- If you like, add it to the "autostart" group via menu option.
To provide an icon for each SCC provider, create a registry value in the Provider section pointed to by the value
<Provider Name> in the key:
HKEY_LOCAL_MACHINE\Software\Microsoft\ SourceCodeControlProvider\InstalledSCCProviders. The value must be text and named
IconDll. It must contain the complete path to the Image - Exe or DLL - which contains the icon. As an option, an icon index, separated from the path by a ',' can be supplied. Otherwise 1 will be used as the default index. You can find the correct index by opening the image in a Resource Editor.
"IconDll"="C:\Programme\Microsoft Visual Studio\Vss\win32\Ssexp.exe,12"
will do in my Visual SourceSafe installation.
- You should have write access to
HKEY_LOCAL_MACHINE\Software\Microsoft\SourceCodeControlProvider. Otherwise the program will not start.
- When you have no write access to
HKEY_CURRENT_USER\Software\Windows\CurrentVersion\Run the Autostart option is disabled.
- In Terminal server and XP, with the Userswitching feature, you can start SCCSwitcher multiple times. It will show up in each started session. When you switch to another provider, the change is only reflected in the current session. To automatically switch the other session too, we have to monitor the relevant registry section. But who really needs such a feature?
The program was written and tested on NT 4.0 SP6, W2K an XP Professional.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.