Hello Madan,
There are a few bugs with Visual Source Safe(VSS) that complicates the process of getting CVI to work with it. It seems like during the initial setup in CVI, SourceSafe will work correctly only if you force a new directory to be created. Both Perforce and ClearCase lack this requirement.
So the steps to correct this is to set up CVI to connect as admin or another username that does not have a password associated with it. In particular, the steps I used to set this up were:
1. Open VSSAdmin and add a user with the same name as the Windows login. You can choose to add a password if you like. (You mentioned that you already have this part set up).
2. Open your project in CVI. Select Edit Project >> Source Code Control. Select Attach >> None (This will detach SCC from your project.) Then uncheck "Use project source code control settings". Click OK twice to save your settings.
3. Go back to Edit Project >> Source Code Control. Reselect "Use project source code control settings". Select Create >> Visual Source Safe. If you are prompted for your username and password, enter your VSS username and password (if you created a password).
4. Under "SourceSafe project to download", select the name of your VSS project.
5. *** This seems to be the key part. *** Under "Create a new project in the folder", select Browse. Under Folder, navigate to your working folder. Then under name, type in another folder name so that VSS will create an addition folder in your working directory. For example, if the current folder is C:\..\MyProject, under "Name:", I would type C:\...\MyProject\test1.
After clicking OK, you will be asked if you want to create the new folder (in my case, it would be test1). Say Yes.
6. *** Another key part ***. On the Source Code Control Options window, check the option "Use default username". Then type in "admin" for your default user. Click OK twice.
7. Hopefully your source control options now appear. Now go to your source code control options and select to add all your files to source code control.
Hope that helps.
Wendy L
LabWindows/CVI Developer Newsletter