<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kevin.Gao.Blog() &#187; SourceSafe</title>
	<atom:link href="http://www.kevingao.net/category/sourcesafe/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kevingao.net</link>
	<description>SourceSafe, Source Control, Software Development</description>
	<lastBuildDate>Tue, 27 Jul 2010 12:26:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to version control SQL Server Stored Procedures using SourceSafe and Visual Studio 2003</title>
		<link>http://www.kevingao.net/sourcesafe/how-to-version-control-sql-server-stored-procedures-using-sourcesafe-and-visual-studio-2003.html</link>
		<comments>http://www.kevingao.net/sourcesafe/how-to-version-control-sql-server-stored-procedures-using-sourcesafe-and-visual-studio-2003.html#comments</comments>
		<pubDate>Mon, 12 Jan 2009 02:26:58 +0000</pubDate>
		<dc:creator>Kevin Gao</dc:creator>
				<category><![CDATA[SourceSafe]]></category>

		<guid isPermaLink="false">http://www.kevingao.net/?p=499</guid>
		<description><![CDATA[This article is a part of SourceSafe / VSS Tutorial
SQL Server stored procedures can be added to Visual SourceSafe (VSS) for version control by using the source control feature in Visual Studio .NET 2003.
 
To add SQL Server stored procedures to VSS, please follow the steps below:
1. Verify that SQL Server is running under a domain [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-right: 10px; padding-left: 10px; float: right; padding-bottom: 8px; margin-left: 8px; width: 190px; padding-top: 13px; height: 44px; background-color: #f5f5f5; text-align: center; border: #808080 1px dotted;"><strong>This article is a part of <a href="http://www.kevingao.net/sourcesafe-vss-how-to">SourceSafe / VSS Tutorial</a></strong></div>
<p>SQL Server stored procedures can be added to Visual SourceSafe (VSS) for version control by using the source control feature in Visual Studio .NET 2003.</p>
<p> </p>
<p>To add SQL Server stored procedures to VSS, please follow the steps below:</p>
<p>1. Verify that SQL Server is running under a domain account and the current log on user of SQL Server has read &amp; write rights to the VSS Database folder. We can check this by right-clicking <strong>My Computer</strong>, and then clicking <strong>Manage</strong> -&gt; <strong>Services and Applications</strong> -&gt; <strong>Services</strong>. In the service list, right-click MSSQLSEVER and click <strong>Properties</strong> -&gt; <strong>Log On tab</strong>.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2009/01/sql-2000-log-on-user.png" alt="SQL Server Log On user" /><br />
(SQL Server Log On user)</p>
<p style="text-align: center;"> </p>
<p>2. Install Visual SourceSafe on the SQL Server machine.</p>
<p>3. Install Visual Studio .NET server components on the computer running SQL Server. During the installation, please check the <strong>VS 6 Stored Procedure Version Control</strong> option under <strong>Server Components</strong>.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2009/01/sql-2000-install-vs.png" alt="Visual Studio .net 2003 Setup" /><br />
(Visual Studio .net 2003 Setup)</p>
<p style="text-align: center;"> </p>
<p>4. Start Visual Studio .NET, click menu <strong>Tools</strong> -&gt; <strong>Options</strong> -&gt; <strong>Database Tools</strong> -&gt; <strong>Server Explorer</strong>, and check <strong>Enable version control</strong> under <strong>Stored Procedures</strong>.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2009/01/sql-2000-enable-version-control.png" alt="Enable Version Control" /><br />
(Enable Version Control)</p>
<p style="text-align: center;"> </p>
<p>5. Open the <strong>Server Explorer</strong> pane by clicking menu <strong>View</strong> -&gt; <strong>Server Explorer</strong>, and then expand to the <strong>Stored Procedures</strong> folder.</p>
<p>6. Right-click the <strong>Stored Procedures</strong> folder, and click <strong>Add to Source Control</strong>.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2009/01/sql-2000-add-to-source-control.png" alt="Add to Source Control" /><br />
(Add to Source Control)</p>
<p style="text-align: center;"> </p>
<p>7. The <strong>Enable Source Control</strong> dialog box prompts out. We need to input the VSS database location and project name here. Please note that we do not need to use the &#8220;$/&#8221; prefix in the <strong>Source Control Project Name</strong> text box. Visual Studio .NET adds &#8220;$/&#8221; automatically. For example, if the project name in VSS database is &#8220;sql_2000&#8243;, we should input &#8220;sql_2000&#8243; rather than &#8220;$/sql_2000&#8243;.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2009/01/sql-2000-enable-sc.png" alt="Enable Source Control" /><br />
(Enable Source Control)</p>
<p style="text-align: center;"> </p>
<p>8. In the <strong>Source Control Login</strong> dialog box, type the VSS <strong>Login ID</strong> and the <strong>Password</strong>, and then click <strong>OK</strong>.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2009/01/sql-2000-login.png" alt="Source Control Login" /><br />
(Source Control Login)</p>
<p style="text-align: center;"> </p>
<p>9. We can now add stored procedures into source control of SourceSafe by right-clicking on the stored procedure files and selecting <strong>Add to Source Control</strong>. There will be lock icons on the left side of the stored procedure files denoting the files are in source control, as shown in the following screenshot:</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2009/01/sql-2000-lock-icon.png" alt="Lock Icon" /><br />
(Lock Icon)</p>
<p style="text-align: center;"> </p>
<p>And we will see the stored procedure files in SourceSafe Explorer:</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2009/01/sql-2000-vss-explorer.png" alt="VSS Explorer" /><br />
(VSS Explorer)</p>
<p style="text-align: center;"> </p>
<p>10. After all the steps above were done, we will be able to find the SourceSafe options by right-clicking the stored procedure files in the <strong>Server Explorer</strong> pane.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2009/01/sql-2000-operations.png" alt="Source Control Operations" /><br />
(Source Control Operations)</p>
<p style="text-align: center;"> </p>
<p>For information on how to source control SQL Server objects in SQL Server Management Studio 2005/2008, please refer to my other articles: <a href="http://www.kevingao.net/sourcesafe/integrating-sourcesafe-vss-with-sql-server-2005.html">Integrating SourceSafe / VSS with SQL Server 2005</a> and <a href="http://www.kevingao.net/sourcesafe/integrating-sourcesafe-vss-with-sql-server-2008.html">Integrating SourceSafe / VSS with SQL Server 2008</a>.</p>
<p> <br />
</p>
<table style="margin: 13px 0px 8px 10px; width: 98%; height: 44px; text-align: center; border: #808080 1px dotted;">
<tr height=100>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/version-control-source-control-sourceanywhere.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_sml.gif" alt="SourceAnywhere - the SQL Server-based SourceSafe Replacement" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6 style="border-right: #808080 1px dotted;">
		<font size=1>The SQL Server-based <b>Source Control Software</b> Designed to be a <b>SourceSafe Replacement</b></font></td>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/SAW_Overview.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_vss_sml.gif" alt="SourceAnywhere for VSS - the Fastest SourceSafe Remote Access Tool Recommended by Microsoft" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6><font size=1>The <b>Fastest SourceSafe Remote Access</b> Tool <b><a target=_blank href ="http://msdn2.microsoft.com/en-us/vstudio/aa700908.aspx">Recommeded by Microsoft</a></b></font></td>
</tr>
</table>
<p>
<strong>Links:</strong><br />
Previous article &lt;&lt;&lt;&lt;:<br />
Next article &gt;&gt;&gt;&gt;:<br />
SourceSafe How To series home page: <a href="http://www.kevingao.net/sourcesafe-vss-how-to">VSS / SourceSafe Tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingao.net/sourcesafe/how-to-version-control-sql-server-stored-procedures-using-sourcesafe-and-visual-studio-2003.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Manage Security in SourceSafe / VSS</title>
		<link>http://www.kevingao.net/sourcesafe/how-to-manage-security-in-sourcesafe-vss.html</link>
		<comments>http://www.kevingao.net/sourcesafe/how-to-manage-security-in-sourcesafe-vss.html#comments</comments>
		<pubDate>Mon, 22 Dec 2008 05:18:09 +0000</pubDate>
		<dc:creator>Kevin Gao</dc:creator>
				<category><![CDATA[SourceSafe]]></category>

		<guid isPermaLink="false">http://www.kevingao.net/?p=491</guid>
		<description><![CDATA[This article is a part of SourceSafe / VSS Tutorial
Introduction
SourceSafe provides a tool, Visual SourceSafe Administrator, to manage the permission of the VSS users.
However, designed for trusted environment, SourceSafe offers very low security. Regardless of the VSS project level permission, all VSS users must have read &#38; write permission of the whole VSS folder from [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-right: 10px; padding-left: 10px; float: right; padding-bottom: 8px; margin-left: 8px; width: 190px; padding-top: 13px; height: 44px; background-color: #f5f5f5; text-align: center; border: #808080 1px dotted;"><strong>This article is a part of <a href="http://www.kevingao.net/sourcesafe-vss-how-to">SourceSafe / VSS Tutorial</a></strong></div>
<h3>Introduction</h3>
<p>SourceSafe provides a tool, <strong>Visual SourceSafe Administrator</strong>, to manage the permission of the VSS users.</p>
<p>However, designed for trusted environment, SourceSafe offers very low security. Regardless of the VSS project level permission, all VSS users must have read &amp; write permission of the whole VSS folder from the file system. This means even for a VSS user who only has read permission of a single file in VSS database, he/she can copy or even delete the whole VSS database from the file system</p>
<p>Furthermore, if we have remote SourceSafe users, we need to expose our whole VSS database folder from the file system level, which makes our source code vulnerable to outside hackers.</p>
<p>There is no easy way to solve this security vulnerability since VSS is designed that way. One possible option is to use an add-on tool to convert VSS from a file based system to a client/server architecture based system. A tool I developed, called <strong>SourceAnywhere for VSS</strong>, can do this job. The link for SourceAnywhere for VSS is:<br />
<a href="http://www.dynamsoft.com/Products/SAW_Overview.aspx">http://www.dynamsoft.com/Products/SAW_Overview.aspx</a></p>
<p>The project level security mechanism in VSS can only prevent unintended changes. If you are still interested in learning more about how to set the project level securities in VSS, you can read more about it below. <img src='http://www.kevingao.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p> </p>
<h3>Managing project level security</h3>
<p>To manage the project rights for an individual command for each user, we can follow the steps below:</p>
<p>1. Open <strong>Visual SourceSafe Administrator</strong> program.</p>
<p>2. Check the <strong>Enable Rights and Assignments commands</strong> box in the <strong>Visual SourceSafe Administrator</strong> menu <strong>Tools</strong> -&gt; <strong>Options</strong> -&gt; <strong>Project Rights</strong> tab. In the <strong>New User Rights</strong> area of the <strong>Project Rights</strong> tab, we can deselect the project rights that do not apply to any database users.</p>
<p style="TEXT-ALIGN: center"><img src="http://www.kevingao.net/wp-content/uploads/2008/12/security-vss-options.png" alt="SourceSafe Options" /><br />
(SourceSafe Options)</p>
<p style="TEXT-ALIGN: center"> </p>
<p>3. Now there are 3 rights commands available on the Tools menu: Rights by Project, Rights Assignments for User and Copy User Rights.</p>
<p> </p>
<p><strong>To assign project rights from the project list:</strong></p>
<p>1. In Visual SourceSafe Administrator, click <strong>Tools</strong> -&gt; <strong>Rights by Project</strong>.</p>
<p>2. In the <strong>Project Rights</strong> dialog box, select a project and click <strong>Add User</strong> to attach the user for whom to assign project rights.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/12/security-project-rights.png" alt="Project Rights" /><br />
(Project Rights)</p>
<p style="text-align: center;"> </p>
<p>3. Select a user in the user list. Under <strong>User rights</strong>, specify the permissions.</p>
<p> </p>
<p><strong>To assign project rights from the user list:</strong></p>
<p>1. In Visual SourceSafe Administrator, select a user in the users list, and click <strong>Tool</strong> -&gt; <strong>Rights Assignments for User</strong>.</p>
<p>2. In the <strong>Assignments for </strong>dialog box, click <strong>Add Assignment</strong>.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/12/security-assign-by-user.png" alt="Assignments for &lt;user&gt;" /><br />
(Assignments for )</p>
<p style="text-align: center;"> </p>
<p>3. Select a Visual SourceSafe project and then specify permissions for the user on the selected project. Please be advised that a user must have the Destroy project right to deploy a Web site.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/12/security-assign-for-user.png" alt="Add Assignment for &lt;user&gt;" /><br />
(Add Assignment for )</p>
<p style="text-align: center;"> </p>
<p><strong>To copy one&#8217;s user rights to another user:</strong></p>
<p>1. In Visual SourceSafe Administrator, click the user whose project rights you want to modify in the users list.</p>
<p>2. Click menu <strong>Tools</strong> -&gt; <strong>Copy User Rights</strong>. The <strong>Copy Rights Assignments to </strong>dialog box prompts out.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/12/security-copy-rights.png" alt="Copy Rights Assignment to Test" /><br />
(Copy Rights Assignment to Test)</p>
<p>3. Select a user from whom to copy rights, and then click <strong>Copy</strong>.</p>
<p> <br />
</p>
<table style="margin: 13px 0px 8px 10px; width: 98%; height: 44px; text-align: center; border: #808080 1px dotted;">
<tr height=100>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/version-control-source-control-sourceanywhere.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_sml.gif" alt="SourceAnywhere - the SQL Server-based SourceSafe Replacement" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6 style="border-right: #808080 1px dotted;">
		<font size=1>The SQL Server-based <b>Source Control Software</b> Designed to be a <b>SourceSafe Replacement</b></font></td>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/SAW_Overview.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_vss_sml.gif" alt="SourceAnywhere for VSS - the Fastest SourceSafe Remote Access Tool Recommended by Microsoft" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6><font size=1>The <b>Fastest SourceSafe Remote Access</b> Tool <b><a target=_blank href ="http://msdn2.microsoft.com/en-us/vstudio/aa700908.aspx">Recommeded by Microsoft</a></b></font></td>
</tr>
</table>
<p>
<strong>Links:</strong><br />
Previous article &lt;&lt;&lt;&lt;: <a href="http://www.kevingao.net/sourcesafe/how-to-manage-users-in-sourcesafe-vss.html">How to manage users in SourceSafe / VSS</a><br />
Next article &gt;&gt;&gt;&gt;:<br />
SourceSafe How To series home page: <a href="http://www.kevingao.net/sourcesafe-vss-how-to">VSS / SourceSafe Tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingao.net/sourcesafe/how-to-manage-security-in-sourcesafe-vss.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show History in SourceSafe / VSS</title>
		<link>http://www.kevingao.net/sourcesafe/show-history-in-sourcesafe-vss.html</link>
		<comments>http://www.kevingao.net/sourcesafe/show-history-in-sourcesafe-vss.html#comments</comments>
		<pubDate>Fri, 19 Dec 2008 01:56:43 +0000</pubDate>
		<dc:creator>Kevin Gao</dc:creator>
				<category><![CDATA[SourceSafe]]></category>

		<guid isPermaLink="false">http://www.kevingao.net/?p=485</guid>
		<description><![CDATA[This article is a part of SourceSafe / VSS Tutorial
Show History Basics
Show History is one of the most important features in SourceSafe. My personal feeling is that being able to go back to the pervious versions is the main purpose that software development teams use version control tools. It gives us peace of mind when [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-right: 10px; padding-left: 10px; float: right; padding-bottom: 8px; margin-left: 8px; width: 190px; padding-top: 13px; height: 44px; background-color: #f5f5f5; text-align: center; border: #808080 1px dotted;"><strong>This article is a part of <a href="http://www.kevingao.net/sourcesafe-vss-how-to">SourceSafe / VSS Tutorial</a></strong></div>
<h3>Show History Basics</h3>
<p>Show History is one of the most important features in SourceSafe. My personal feeling is that being able to go back to the pervious versions is the main purpose that software development teams use version control tools. It gives us peace of mind when we implement new features and fix bugs.</p>
<p>The Show History command in SourceSafe allows us to view the history information of a file/project by listing all the versions of an item from the latest version to the creation of the item. In the History Explorer, we can see the version number of the item, the user who performed the action, the date/time of the event and the action. We can also perform operations like Get, View, Pin on a specific version of the item and rollback a file to an old version.</p>
<p>Many developers only use the History Explorer to view a previous version or do diff and may not know many useful features of the History Explorer. I am listing some of the features in the following section and hope you will find it useful.</p>
<p> </p>
<h3>How to view the history of an item</h3>
<p>To view history of a file/project, we can click <strong>Show History</strong> under the <strong>Tools</strong> menu or from the right-click menu of the item, set history options in the following dialog box and then the history explorer will appear listing all the historical information of the item.</p>
<p> </p>
<h3>History Explorer</h3>
<p style="text-align: center;"><img title="File History Explorer" src="http://www.kevingao.net/wp-content/uploads/2008/12/file-history-explorer.png" alt="File History Explorer" /><br />
(File History Explorer)</p>
<p style="text-align: center;"> </p>
<p><strong>Get an old version of a file/project</strong></p>
<p>Sometimes we may want to retrieve an old version of a file or project. We can do that through history explorer. Select the version of the file/project we would like to retrieve and click <strong>Get</strong>.</p>
<p><strong>Get a version of a file/project by label</strong></p>
<p>Label is a good way to manage version release/builds. For more information, see <a href="http://www.kevingao.net/sourcesafe/label-in-sourcesafe-vss.html">Label</a>. VSS also provides the feature to get an item by label. If we check <strong>Include Labels</strong> option in the History Options dialog box, we will see all the labels that have been assigned to the item in the <strong>Action</strong> column of history explorer. Simply selecting the labeled version and clicking <strong>Get</strong> will get the labeled version to the local drive.</p>
<p><strong>Diff two versions of a file</strong></p>
<p>In history explorer, we can also compare two versions of a file. To do that, we can select two versions of the file and click <strong>Diff</strong>. For more information, see <a href="http://www.kevingao.net/sourcesafe/file-diff.html">File Diff</a>.</p>
<p><strong>Pin an old version of a file</strong></p>
<p>If we want our team members to get a specific historical version of a file by default, we can pin the file to that version by selecting the version in the history explorer, and clicking <strong>Pin</strong>. For more information, see <a href="http://www.kevingao.net/sourcesafe/pin-in-sourcesafe-vss.html">Pin</a>.</p>
<p><strong>Rollback to an old version of a file</strong></p>
<p>We can use the Rollback feature to return a file to an old version and erase all the newer versions . If the file is shared among several projects, Rollback will only affect the current project. It breaks the file in the current project from that in the other projects. To rollback to an old version, we can select the version we want to rollback to and click <strong>Rollback</strong> in the history explorer.</p>
<p><strong>Change label &amp; comment</strong></p>
<p>We may want to change the label/comment of an item in some situations. We can do it through history explorer too. Select the item version from the history explorer, click the <strong>Details</strong> button and then we can change label and comment in the <strong>History Details</strong> dialog box.</p>
<p style="text-align: center;"><img title="History Details" src="http://www.kevingao.net/wp-content/uploads/2008/12/history-details.png" alt="History Details" /><br />
(History Details)</p>
<p style="text-align: center;"> </p>
<p><strong>History report</strong></p>
<p>We can report the history information of an item to a printer, file or clipboard by clicking <strong>Report</strong> button in the history explorer. Checking <strong>Include details</strong> can include more detailed information, like comments in the report. Checking <strong>Include differences</strong> can include the differences between versions in the report.</p>
<p style="text-align: center;"><img title="History Report" src="http://www.kevingao.net/wp-content/uploads/2008/12/history-report.png" alt="History Report" /><br />
(History Report)</p>
<p style="text-align: center;"> </p>
<h3>Share an old version of project</h3>
<p>In the project history explorer, we can select a version of the project and click <strong>Share</strong> to share this version of the project with other project.</p>
<p style="text-align: center;"><img title="Project History Explorer" src="http://www.kevingao.net/wp-content/uploads/2008/12/project-history-explorer.png" alt="Project History Explorer" /><br />
(Project History Explorer)</p>
<p style="text-align: center;"> </p>
<p style="text-align: center;"><img title="History Share" src="http://www.kevingao.net/wp-content/uploads/2008/12/history-share.png" alt="History Share" /><br />
(History Share)</p>
<p style="text-align: center;"> </p>
<p></p>
<table style="margin: 13px 0px 8px 10px; width: 98%; height: 44px; text-align: center; border: #808080 1px dotted;">
<tr height=100>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/version-control-source-control-sourceanywhere.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_sml.gif" alt="SourceAnywhere - the SQL Server-based SourceSafe Replacement" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6 style="border-right: #808080 1px dotted;">
		<font size=1>The SQL Server-based <b>Source Control Software</b> Designed to be a <b>SourceSafe Replacement</b></font></td>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/SAW_Overview.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_vss_sml.gif" alt="SourceAnywhere for VSS - the Fastest SourceSafe Remote Access Tool Recommended by Microsoft" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6><font size=1>The <b>Fastest SourceSafe Remote Access</b> Tool <b><a target=_blank href ="http://msdn2.microsoft.com/en-us/vstudio/aa700908.aspx">Recommeded by Microsoft</a></b></font></td>
</tr>
</table>
<p>
<strong>Links:</strong><br />
Previous article &lt;&lt;&lt;&lt;: <a href="http://www.kevingao.net/sourcesafe/pin-in-sourcesafe-vss.html">Pin in SourceSafe / VSS</a><br />
Next article &gt;&gt;&gt;&gt;:<br />
SourceSafe How To series home page: <a href="http://www.kevingao.net/sourcesafe-vss-how-to">VSS / SourceSafe Tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingao.net/sourcesafe/show-history-in-sourcesafe-vss.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pin in SourceSafe / VSS</title>
		<link>http://www.kevingao.net/sourcesafe/pin-in-sourcesafe-vss.html</link>
		<comments>http://www.kevingao.net/sourcesafe/pin-in-sourcesafe-vss.html#comments</comments>
		<pubDate>Thu, 27 Nov 2008 02:19:28 +0000</pubDate>
		<dc:creator>Kevin Gao</dc:creator>
				<category><![CDATA[SourceSafe]]></category>

		<guid isPermaLink="false">http://www.kevingao.net/?p=482</guid>
		<description><![CDATA[This article is a part of SourceSafe / VSS Tutorial
Pin is a small but sometimes helpful feature in Visual SourceSafe (VSS). VSS defines Pin as a marker that designates a specific version of a file. For example, if we want our team members to get a historical version by default, we can pin the file [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-right: 10px; padding-left: 10px; float: right; padding-bottom: 8px; margin-left: 8px; width: 190px; padding-top: 13px; height: 44px; background-color: #f5f5f5; text-align: center; border: #808080 1px dotted;"><strong>This article is a part of <a href="http://www.kevingao.net/sourcesafe-vss-how-to">SourceSafe / VSS Tutorial</a></strong></div>
<p>Pin is a small but sometimes helpful feature in Visual SourceSafe (VSS). VSS defines <strong>Pin</strong> as a marker that designates a specific version of a file. For example, if we want our team members to get a historical version by default, we can pin the file to the specific version.</p>
<p>Pin is not a native feature in SourceSafe. I usually do not use <strong>Pin</strong> very often and my personal recommendation is that we should avoid <strong>Pin</strong> if possible.</p>
<p> </p>
<p><strong>Pin</strong> has the following features:</p>
<ul>
<li>When we do <strong>Get Latest</strong>, for a pinned file, VSS retrieves the pinned version, not the latest version.</li>
<li>We can still get the other versions in the <strong>Show History</strong> dialog box.</li>
<li>After a file is pinned, the file cannot be modified. We cannot do <strong>Check In</strong> / <strong>Check Out</strong> on a pinned file.</li>
</ul>
<p>To pin a version of a file, please follow steps below:</p>
<p>1. In <strong>Visual SourceSafe (VSS) Explorer</strong>, select the file that you want to pin.</p>
<p>2. On the menu <strong>Tools</strong>, click <strong>Show History</strong>, as seen in the following screen shot:</p>
<p style="text-align: center;"><img title="Show History" src="http://www.kevingao.net/wp-content/uploads/2008/11/pin-showhistory.png" alt="Show History" /><br />
(Show History)</p>
<p style="text-align: center;"> </p>
<p>Or right-click the file that you want to pin, and select <strong>Show History</strong>.</p>
<p style="text-align: center;"><img title="Show History" src="http://www.kevingao.net/wp-content/uploads/2008/11/pin-showhistory1.png" alt="Show History" /><br />
(Show History)</p>
<p style="text-align: center;"> </p>
<p>3. In the <strong>History Options</strong> dialog box, click <strong>OK</strong>.</p>
<p style="text-align: center;"><img title="History Options" src="http://www.kevingao.net/wp-content/uploads/2008/11/pin-historyoptions.png" alt="History Options" /><br />
(History Options)</p>
<p style="text-align: center;"> </p>
<p>4. In the <strong>History of </strong>dialog box, select the version that you want to pin, and then click <strong>Pin</strong>. A pushpin icon will appear next to the pinned file.</p>
<p style="text-align: center;"><img title="Pin" src="http://www.kevingao.net/wp-content/uploads/2008/11/pin-historypin.png" alt="Pin" /><br />
(Pin)</p>
<p style="text-align: center;"> </p>
<p></p>
<table style="margin: 13px 0px 8px 10px; width: 98%; height: 44px; text-align: center; border: #808080 1px dotted;">
<tr height=100>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/version-control-source-control-sourceanywhere.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_sml.gif" alt="SourceAnywhere - the SQL Server-based SourceSafe Replacement" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6 style="border-right: #808080 1px dotted;">
		<font size=1>The SQL Server-based <b>Source Control Software</b> Designed to be a <b>SourceSafe Replacement</b></font></td>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/SAW_Overview.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_vss_sml.gif" alt="SourceAnywhere for VSS - the Fastest SourceSafe Remote Access Tool Recommended by Microsoft" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6><font size=1>The <b>Fastest SourceSafe Remote Access</b> Tool <b><a target=_blank href ="http://msdn2.microsoft.com/en-us/vstudio/aa700908.aspx">Recommeded by Microsoft</a></b></font></td>
</tr>
</table>
<p>
<strong>Links:</strong><br />
Previous article &lt;&lt;&lt;&lt;: <a href="http://www.kevingao.net/sourcesafe/label-in-sourcesafe-vss.html">Label in SourceSafe / VSS</a><br />
Next article &gt;&gt;&gt;&gt;: <a href="http://www.kevingao.net/sourcesafe/show-history-in-sourcesafe-vss.html">Show History in SourceSafe / VSS</a><br />
SourceSafe How To series home page: <a href="http://www.kevingao.net/sourcesafe-vss-how-to">VSS / SourceSafe Tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingao.net/sourcesafe/pin-in-sourcesafe-vss.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Free Tool to Manage the MSSCCI Provider</title>
		<link>http://www.kevingao.net/sourcesafe/a-free-tool-to-manage-the-msscci-provider.html</link>
		<comments>http://www.kevingao.net/sourcesafe/a-free-tool-to-manage-the-msscci-provider.html#comments</comments>
		<pubDate>Mon, 17 Nov 2008 01:47:22 +0000</pubDate>
		<dc:creator>Kevin Gao</dc:creator>
				<category><![CDATA[SourceSafe]]></category>

		<guid isPermaLink="false">http://www.kevingao.net/?p=469</guid>
		<description><![CDATA[This article is a part of SourceSafe / VSS Tutorial
Dynamsoft provides a tool called SCC Provider Manager with its SourceAnywhere product family. With this tool, you can choose one of the SCC providers in your system as the default provider. This is a screen shot of the tool:
 

(SCC Provider Manager)
 
With the permission of the company, [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-right: 10px; padding-left: 10px; float: right; padding-bottom: 8px; margin-left: 8px; width: 190px; padding-top: 13px; height: 44px; background-color: #f5f5f5; text-align: center; border: #808080 1px dotted;"><strong>This article is a part of <a href="http://www.kevingao.net/sourcesafe-vss-how-to">SourceSafe / VSS Tutorial</a></strong></div>
<p>Dynamsoft provides a tool called <strong>SCC Provider Manager</strong> with its <a href="http://www.dynamsoft.com/Products/version-control-source-control-sourceanywhere.aspx">SourceAnywhere</a> product family. With this tool, you can choose one of the SCC providers in your system as the default provider. This is a screen shot of the tool:</p>
<p> </p>
<p style="text-align: center;"><img title="SCC Provider Manager" src="http://www.kevingao.net/wp-content/uploads/2008/11/scc-provider-manager.png" alt="SCC Provider Manager" /><br />
(SCC Provider Manager)</p>
<p style="text-align: center;"> </p>
<p>With the permission of the company, I am posting the source code and the executable file here. The project was developed with Visual C++ 2003. <strong>Download <a href="http://www.kevingao.net/wp-content/uploads/2008/11/SCCProviderManager.zip">SCC Provider Manager</a></strong>.</p>
<p> <br />
</p>
<table style="margin: 13px 0px 8px 10px; width: 98%; height: 44px; text-align: center; border: #808080 1px dotted;">
<tr height=100>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/version-control-source-control-sourceanywhere.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_sml.gif" alt="SourceAnywhere - the SQL Server-based SourceSafe Replacement" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6 style="border-right: #808080 1px dotted;">
		<font size=1>The SQL Server-based <b>Source Control Software</b> Designed to be a <b>SourceSafe Replacement</b></font></td>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/SAW_Overview.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_vss_sml.gif" alt="SourceAnywhere for VSS - the Fastest SourceSafe Remote Access Tool Recommended by Microsoft" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6><font size=1>The <b>Fastest SourceSafe Remote Access</b> Tool <b><a target=_blank href ="http://msdn2.microsoft.com/en-us/vstudio/aa700908.aspx">Recommeded by Microsoft</a></b></font></td>
</tr>
</table>
<p>
<strong>Links:</strong><br />
Previous article &lt;&lt;&lt;&lt;: <a href="http://www.kevingao.net/sourcesafe/microsoft-source-code-control-interface-msscci-registry-entries.html">Microsoft Source Code Control Interface (MSSCCI) Registry Entries</a><br />
Next article &gt;&gt;&gt;&gt;:<br />
SourceSafe How To series home page: <a href="http://www.kevingao.net/sourcesafe-vss-how-to">VSS / SourceSafe Tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingao.net/sourcesafe/a-free-tool-to-manage-the-msscci-provider.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to backup &amp; restore SourceSafe / VSS database</title>
		<link>http://www.kevingao.net/sourcesafe/how-to-backup-restore-sourcesafe-vss-database.html</link>
		<comments>http://www.kevingao.net/sourcesafe/how-to-backup-restore-sourcesafe-vss-database.html#comments</comments>
		<pubDate>Fri, 14 Nov 2008 07:19:34 +0000</pubDate>
		<dc:creator>Kevin Gao</dc:creator>
				<category><![CDATA[SourceSafe]]></category>

		<guid isPermaLink="false">http://www.kevingao.net/?p=465</guid>
		<description><![CDATA[This article is a part of SourceSafe / VSS Tutorial
SourceSafe provides an Archive utility, with which we can periodically backup our VSS Database or projects and transport files/projects between SourceSafe databases. SourceSafe also provides a Restore tool which allows us to restore the data from an archive.

How to archive SourceSafe database
How to restore SourceSafe database

 
To [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-right: 10px; padding-left: 10px; float: right; padding-bottom: 8px; margin-left: 8px; width: 190px; padding-top: 13px; height: 44px; background-color: #f5f5f5; text-align: center; border: #808080 1px dotted;"><strong>This article is a part of <a href="http://www.kevingao.net/sourcesafe-vss-how-to">SourceSafe / VSS Tutorial</a></strong></div>
<p>SourceSafe provides an Archive utility, with which we can periodically backup our VSS Database or projects and transport files/projects between SourceSafe databases. SourceSafe also provides a Restore tool which allows us to restore the data from an archive.</p>
<ul>
<li>How to archive SourceSafe database</li>
<li>How to restore SourceSafe database</li>
</ul>
<p> </p>
<h3>To archive a SourceSafe database:</h3>
<p>1. First, make sure no one is using the database we are going to archive or the Analyze utility will not run during the process of archive.</p>
<p>2. Open the database in SourceSafe Administrator and start the Archive Wizard through menu <strong>Archive</strong> -&gt; <strong>Archive Projects</strong>.</p>
<p>3. Choose the project to archive from the project list.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/choose-project-to-archive.png" alt="Choose project to archive" /><br />
(Choose project to archive)</p>
<p style="text-align: center;"> </p>
<p>4. Click <strong>Add</strong> to add more projects we would like to archive and then click <strong>Next</strong>.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/add-more-project-to-archive.png" alt="Add projects you would like to archive" /><br />
(Add projects you would like to archive)</p>
<p style="text-align: center;"> </p>
<p>5. Specify a name for the archive file.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/archive-specify-name.png" alt="Specify name for the archive file" /><br />
(Specify name for the archive file)</p>
<p style="text-align: center;"> </p>
<p>6. Specify the version range of the project to archive. We may choose to archive all of the data or archive the data older than a specific version.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/archive-specify-range.png" alt="Specify the version range to archive" /><br />
(Specify the version range to archive)</p>
<p style="text-align: center;"> </p>
<p>7. Click <strong>Finish</strong> and SourceSafe will archive the projects to an .ssa file.</p>
<p> </p>
<h3>To restore the projects from an archive file:</h3>
<p>1. Start the Restore Wizard through SourceSafe Administrator menu <strong>Archive</strong> -&gt; <strong>Restore Projects</strong>.</p>
<p>2. Select the archive file that contains the projects we would like to restore.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/restore-select-archive-file.png" alt="Select archive file" /><br />
(Select archive file)</p>
<p style="text-align: center;"> </p>
<p>3. Select the projects we want to restore to the database. We can check the <strong>Display subproject</strong> option to see all the subprojects.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/restore-select-projects.png" alt="Select projects to restore" /><br />
(Select projects to restore)</p>
<p style="text-align: center;"> </p>
<p>4. Specify the destination to restore the project. We may restore the project to where it was archived from or to a different location.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/restore-select-destination.png" alt="Select restore destination" /><br />
(Select restore destination)</p>
<p style="text-align: center;"> </p>
<p>5. After the restore operation is finish, we may log in SourceSafe to check if the projects we want have been properly restored.</p>
<p> </p>
<p>Note: If we want to restore a complete backup of a VSS DB, it is recommended that we restore the backup to a new VSS database rather than an existing database.</p>
<p> <br />
</p>
<table style="margin: 13px 0px 8px 10px; width: 98%; height: 44px; text-align: center; border: #808080 1px dotted;">
<tr height=100>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/version-control-source-control-sourceanywhere.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_sml.gif" alt="SourceAnywhere - the SQL Server-based SourceSafe Replacement" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6 style="border-right: #808080 1px dotted;">
		<font size=1>The SQL Server-based <b>Source Control Software</b> Designed to be a <b>SourceSafe Replacement</b></font></td>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/SAW_Overview.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_vss_sml.gif" alt="SourceAnywhere for VSS - the Fastest SourceSafe Remote Access Tool Recommended by Microsoft" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6><font size=1>The <b>Fastest SourceSafe Remote Access</b> Tool <b><a target=_blank href ="http://msdn2.microsoft.com/en-us/vstudio/aa700908.aspx">Recommeded by Microsoft</a></b></font></td>
</tr>
</table>
<p>
<strong>Links:</strong><br />
Previous article &lt;&lt;&lt;&lt;:<br />
Next article &gt;&gt;&gt;&gt;: <a href="http://www.kevingao.net/sourcesafe/how-to-manage-users-in-sourcesafe-vss.html">How to manage users in SourceSafe / VSS</a><br />
SourceSafe How To series home page: <a href="http://www.kevingao.net/sourcesafe-vss-how-to">VSS / SourceSafe Tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingao.net/sourcesafe/how-to-backup-restore-sourcesafe-vss-database.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Integrating SourceSafe / VSS with PowerBuilder</title>
		<link>http://www.kevingao.net/sourcesafe/integrating-sourcesafe-vss-with-powerbuilder.html</link>
		<comments>http://www.kevingao.net/sourcesafe/integrating-sourcesafe-vss-with-powerbuilder.html#comments</comments>
		<pubDate>Thu, 13 Nov 2008 06:18:09 +0000</pubDate>
		<dc:creator>Kevin Gao</dc:creator>
				<category><![CDATA[SourceSafe]]></category>

		<guid isPermaLink="false">http://www.kevingao.net/?p=462</guid>
		<description><![CDATA[This article is a part of SourceSafe / VSS Tutorial
PowerBuilder was a popular tool for database front end development. I used PowerBuilder 6 about 10 years ago to develop a MIS (Management Information System) application. The tool was powerful but in the past 5 years, PowerBuilder lost its ground to Java, .NET and other web [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-right: 10px; padding-left: 10px; float: right; padding-bottom: 8px; margin-left: 8px; width: 190px; padding-top: 13px; height: 44px; background-color: #f5f5f5; text-align: center; border: #808080 1px dotted;"><strong>This article is a part of <a href="http://www.kevingao.net/sourcesafe-vss-how-to">SourceSafe / VSS Tutorial</a></strong></div>
<p>PowerBuilder was a popular tool for database front end development. I used PowerBuilder 6 about 10 years ago to develop a MIS (Management Information System) application. The tool was powerful but in the past 5 years, PowerBuilder lost its ground to Java, .NET and other web development languages (like PHP). Recent market surveys show that PowerBuilder is not in the top 5 anymore.</p>
<p> </p>
<p>The source code control interface of PowerBuilder is compatible with Microsoft’s MSSCCI, so we can use Microsoft Visual SourceSafe (VSS) or other compatible software as the version control tool.</p>
<p>To integrate Visual SourceSafe (VSS) with PowerBuilder, we can follow the steps below:</p>
<p>1. Right-click the selected workspace, and select <strong>Properties</strong>, as seen in the following screen shot:</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/pb-workspaceproperties.png" alt="Properties of Workspace" /><br />
(Properties of Workspace)</p>
<p style="text-align: center;"> </p>
<p>2. In <strong>Source Control</strong> tab, configure source control settings.</p>
<ul>
<li>In the <strong>Source Control System</strong> dropdown list, select <strong>Microsoft Visual SourceSafe</strong>.</li>
<li>In <strong>User ID</strong> edit box, input the name of our VSS account.</li>
<li>In <strong>Project</strong> edit box, input the VSS project in which we want put the selected local project. We can click the browse button next to choose the VSS project. When we click the browse button, the <strong>Log On to Visual SourceSafe Database</strong> window will prompt, as seen in the following screen shot:</li>
</ul>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/pb-login.png" alt="Log on to Visual SourceSafe Database" /><br />
(Log on to Visual SourceSafe Database)</p>
<p style="text-align: center;"> </p>
<ul>
<li>Log into the VSS database, and select a project to store the selected local project in the following screen shot.</li>
</ul>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/pb-addtosourcesafe.png" alt="Add to SourceSafe" /><br />
(Add to SourceSafe)</p>
<p style="text-align: center;"> </p>
<ul>
<li>Click <strong>OK</strong> to finish the workspace binding.</li>
</ul>
<p>3. In <strong>PowerBuilder System Tree</strong>, right-click the selected workspace, and select <strong>Add to Source Control</strong> to bring up the <strong>Add to Source Control</strong> window.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/pb-addtosourcecontrol.png" alt="Add to Source Control" /><br />
(Add to Source Control)</p>
<p style="text-align: center;"> </p>
<p>4. Click <strong>OK</strong> to add the selected items to the VSS database.</p>
<p>5. Now the target project is source controlled by VSS. We can perform the basic source control operations, such as Get Latest Version, Check Out, Check In, Undo Check Out, Add to Source Control, Show Differences, Show History and so on.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/pb-basicoperations.png" alt="Basic Source Control Operations" /><br />
(Basic Source Control Operations)</p>
<p style="text-align: center;"> </p>
<p></p>
<table style="margin: 13px 0px 8px 10px; width: 98%; height: 44px; text-align: center; border: #808080 1px dotted;">
<tr height=100>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/version-control-source-control-sourceanywhere.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_sml.gif" alt="SourceAnywhere - the SQL Server-based SourceSafe Replacement" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6 style="border-right: #808080 1px dotted;">
		<font size=1>The SQL Server-based <b>Source Control Software</b> Designed to be a <b>SourceSafe Replacement</b></font></td>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/SAW_Overview.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_vss_sml.gif" alt="SourceAnywhere for VSS - the Fastest SourceSafe Remote Access Tool Recommended by Microsoft" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6><font size=1>The <b>Fastest SourceSafe Remote Access</b> Tool <b><a target=_blank href ="http://msdn2.microsoft.com/en-us/vstudio/aa700908.aspx">Recommeded by Microsoft</a></b></font></td>
</tr>
</table>
<p>
<strong>Links:</strong><br />
Previous article &lt;&lt;&lt;&lt;:<br />
Next article &gt;&gt;&gt;&gt;:<br />
SourceSafe How To series home page: <a href="http://www.kevingao.net/sourcesafe-vss-how-to">VSS / SourceSafe Tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingao.net/sourcesafe/integrating-sourcesafe-vss-with-powerbuilder.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Integrating SourceSafe / VSS with Visual Basic 6.0</title>
		<link>http://www.kevingao.net/sourcesafe/integrating-sourcesafe-vss-with-visual-basic-60.html</link>
		<comments>http://www.kevingao.net/sourcesafe/integrating-sourcesafe-vss-with-visual-basic-60.html#comments</comments>
		<pubDate>Tue, 11 Nov 2008 05:28:51 +0000</pubDate>
		<dc:creator>Kevin Gao</dc:creator>
				<category><![CDATA[SourceSafe]]></category>

		<guid isPermaLink="false">http://www.kevingao.net/?p=457</guid>
		<description><![CDATA[This article is a part of SourceSafe / VSS Tutorial
SourceSafe can be integrated into Visual Basic 6.0 to source control the VB forms, modules, class modules, etc.
 
To integrate SourceSafe with VB 6.0, we can do as follows:
1. Choose SourceSafe as the current source control provider.
For information on how to do it, refer to: http://www.kevingao.net/sourcesafe/microsoft-source-code-control-interface-msscci-registry-entries.html
2. Open [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-right: 10px; padding-left: 10px; float: right; padding-bottom: 8px; margin-left: 8px; width: 190px; padding-top: 13px; height: 44px; background-color: #f5f5f5; text-align: center; border: #808080 1px dotted;"><strong>This article is a part of <a href="http://www.kevingao.net/sourcesafe-vss-how-to">SourceSafe / VSS Tutorial</a></strong></div>
<p>SourceSafe can be integrated into Visual Basic 6.0 to source control the VB forms, modules, class modules, etc.</p>
<p> </p>
<p>To integrate SourceSafe with VB 6.0, we can do as follows:</p>
<p>1. Choose SourceSafe as the current source control provider.<br />
For information on how to do it, refer to: <a href="http://www.kevingao.net/sourcesafe/microsoft-source-code-control-interface-msscci-registry-entries.html">http://www.kevingao.net/sourcesafe/microsoft-source-code-control-interface-msscci-registry-entries.html</a></p>
<p>2. Open VB 6.0 and check if the Source Code Control add-in is loaded through menu <strong>Add-Ins</strong> -&gt; <strong>Add-In Manager</strong>.</p>
<p>If yes, we should be able to find the <strong>SourceSafe</strong> command under <strong>Tools</strong> menu.<br />
If no, please edit the vbaddin.ini file by going to <strong>Start</strong> -&gt; <strong>Run</strong>: vbaddin.ini and adding the line &#8220;vbscc=3 &#8221; in the file.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/vb6-soruce-control-addin.png" alt="" /></p>
<p style="text-align: center;"> </p>
<p>3. Add the VB project into source control of SourceSafe by clicking menu <strong>Tools</strong> -&gt; <strong>SourceSafe</strong> -&gt; <strong>Add Project to SourceSafe</strong>.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/vb6-add-to-vss.png" alt="Add VB Project to SourceSafe" /><br />
(Add VB Project to SourceSafe)</p>
<p style="text-align: center;"> </p>
<p>4. In the following <strong>Log On to SourceSafe Database</strong> dialog box, enter the credentials to log on a VSS DB.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/vb6-logon-vss.png" alt="Log on to VSS Database" /><br />
(Log on to VSS Database)</p>
<p style="text-align: center;"> </p>
<p>5. Choose a location in the VSS project tree to store the VB project.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/vb6-select-project.png" alt="Choose location to place the VB project" /><br />
(Choose location to place the VB project)</p>
<p style="text-align: center;"> </p>
<p>6. Select the files we want to add into SourceSafe for source control and click <strong>OK</strong>.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/vb6-add-files-to-vss.png" alt="Add VB files to SourceSafe" /><br />
(Add VB files to SourceSafe)</p>
<p style="text-align: center;"> </p>
<p>7. Now, all of the files are under source control of SourceSafe. We can find the SourceSafe functions through menu <strong>Tools</strong> -&gt; <strong>SourceSafe</strong>. We can also access some of the functions by right-clicking the file in the Project Explorer.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/vb6-menu-vss-commands.png" alt="" /></p>
<p style="text-align: center;"> </p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/vb6-rightclick-vss-commands.png" alt="" /></p>
<p style="text-align: center;"> </p>
<p></p>
<table style="margin: 13px 0px 8px 10px; width: 98%; height: 44px; text-align: center; border: #808080 1px dotted;">
<tr height=100>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/version-control-source-control-sourceanywhere.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_sml.gif" alt="SourceAnywhere - the SQL Server-based SourceSafe Replacement" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6 style="border-right: #808080 1px dotted;">
		<font size=1>The SQL Server-based <b>Source Control Software</b> Designed to be a <b>SourceSafe Replacement</b></font></td>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/SAW_Overview.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_vss_sml.gif" alt="SourceAnywhere for VSS - the Fastest SourceSafe Remote Access Tool Recommended by Microsoft" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6><font size=1>The <b>Fastest SourceSafe Remote Access</b> Tool <b><a target=_blank href ="http://msdn2.microsoft.com/en-us/vstudio/aa700908.aspx">Recommeded by Microsoft</a></b></font></td>
</tr>
</table>
<p>
<strong>Links:</strong><br />
Previous article &lt;&lt;&lt;&lt;: <a href="http://www.kevingao.net/sourcesafe/integrating-sourcesafe-vss-with-visual-c-60.html">Integrating SourceSafe / VSS with Visual C++ 6.0</a><br />
Next article &gt;&gt;&gt;&gt;: <a href="http://www.kevingao.net/sourcesafe/integrating-sourcesafe-vss-with-access-2007.html">Integrating SourceSafe / VSS with Access 2007</a><br />
SourceSafe How To series home page: <a href="http://www.kevingao.net/sourcesafe-vss-how-to">VSS / SourceSafe Tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingao.net/sourcesafe/integrating-sourcesafe-vss-with-visual-basic-60.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Integrating SourceSafe / VSS with Visual C++ 6.0</title>
		<link>http://www.kevingao.net/sourcesafe/integrating-sourcesafe-vss-with-visual-c-60.html</link>
		<comments>http://www.kevingao.net/sourcesafe/integrating-sourcesafe-vss-with-visual-c-60.html#comments</comments>
		<pubDate>Tue, 11 Nov 2008 05:15:18 +0000</pubDate>
		<dc:creator>Kevin Gao</dc:creator>
				<category><![CDATA[SourceSafe]]></category>

		<guid isPermaLink="false">http://www.kevingao.net/?p=454</guid>
		<description><![CDATA[This article is a part of SourceSafe / VSS Tutorial
SourceSafe can be integrated into Visual C++ 6.0 to source control VC projects and files.
 
To integrate SourceSafe with VC 6.0, we can do as follows:
1. Choose SourceSafe as the current source control provider.
For information on how to do it, refer to: http://www.kevingao.net/sourcesafe/microsoft-source-code-control-interface-msscci-registry-entries.html
2. Add the VC project [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-right: 10px; padding-left: 10px; float: right; padding-bottom: 8px; margin-left: 8px; width: 190px; padding-top: 13px; height: 44px; background-color: #f5f5f5; text-align: center; border: #808080 1px dotted;"><strong>This article is a part of <a href="http://www.kevingao.net/sourcesafe-vss-how-to">SourceSafe / VSS Tutorial</a></strong></div>
<p>SourceSafe can be integrated into Visual C++ 6.0 to source control VC projects and files.</p>
<p> </p>
<p>To integrate SourceSafe with VC 6.0, we can do as follows:</p>
<p>1. Choose SourceSafe as the current source control provider.<br />
For information on how to do it, refer to: <a href="http://www.kevingao.net/sourcesafe/microsoft-source-code-control-interface-msscci-registry-entries.html">http://www.kevingao.net/sourcesafe/microsoft-source-code-control-interface-msscci-registry-entries.html</a></p>
<p>2. Add the VC project into source control of SourceSafe by clicking menu <strong>Project</strong> -&gt; <strong>Source Control</strong> -&gt; <strong>Add to Source Control</strong>. We can also add the project by right-clicking the file in the Project Explorer.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/vc6-add-from-menu.png" alt="Add VC project to SourceSafe from menu" /><br />
(Add VC project to SourceSafe from menu)</p>
<p style="text-align: center;"> </p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/vc6-add-rightclick.png" alt="Add VC project to SourceSafe" /><br />
(Add VC project to SourceSafe)</p>
<p style="text-align: center;"> </p>
<p>3. In the following <strong>Log On to SourceSafe Database</strong> dialog box, enter the credentials to log on a VSS DB.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/log-on-sourcesafe-vss-db.png" alt="Log on to VSS Database" /><br />
(Log on to VSS Database)</p>
<p style="text-align: center;"> </p>
<p>4. Choose a location in the VSS project tree to store the VC project.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/vc6-select-project.png" alt="Choose location to place the VC project" /><br />
(Choose location to place the VC project)</p>
<p style="text-align: center;"> </p>
<p>5. Select the files we want to add into SourceSafe for source control and click <strong>OK</strong>.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/vc6-add-to-vss-db.png" alt="Add VC files to SourceSafe" /><br />
(Add VC files to SourceSafe)</p>
<p style="text-align: center;"> </p>
<p>6. Now, all of the files are under source control of SourceSafe. We can find the SourceSafe functions through menu <strong>Project</strong> -&gt; <strong>Source Control</strong>. We can also access some of the functions by right-clicking the file in the Project Explorer.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/vc6-source-control-from-menu.png" alt="" /></p>
<p style="text-align: center;"> </p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/vc6-source-control-rightclick.png" alt="" /></p>
<p style="text-align: center;"> </p>
<p></p>
<table style="margin: 13px 0px 8px 10px; width: 98%; height: 44px; text-align: center; border: #808080 1px dotted;">
<tr height=100>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/version-control-source-control-sourceanywhere.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_sml.gif" alt="SourceAnywhere - the SQL Server-based SourceSafe Replacement" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6 style="border-right: #808080 1px dotted;">
		<font size=1>The SQL Server-based <b>Source Control Software</b> Designed to be a <b>SourceSafe Replacement</b></font></td>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/SAW_Overview.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_vss_sml.gif" alt="SourceAnywhere for VSS - the Fastest SourceSafe Remote Access Tool Recommended by Microsoft" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6><font size=1>The <b>Fastest SourceSafe Remote Access</b> Tool <b><a target=_blank href ="http://msdn2.microsoft.com/en-us/vstudio/aa700908.aspx">Recommeded by Microsoft</a></b></font></td>
</tr>
</table>
<p>
<strong>Links:</strong><br />
Previous article &lt;&lt;&lt;&lt;: <a href="http://www.kevingao.net/sourcesafe/switching-visual-studio-projects-from-sourcesafe-to-other-scc-providers.html">Switching Visual Studio projects from SourceSafe to other SCC providers</a><br />
Next article &gt;&gt;&gt;&gt;: <a href="http://www.kevingao.net/sourcesafe/integrating-sourcesafe-vss-with-visual-basic-60.html">Integrating SourceSafe / VSS with Visual Basic 6.0</a><br />
SourceSafe How To series home page: <a href="http://www.kevingao.net/sourcesafe-vss-how-to">VSS / SourceSafe Tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingao.net/sourcesafe/integrating-sourcesafe-vss-with-visual-c-60.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to manage users in SourceSafe / VSS</title>
		<link>http://www.kevingao.net/sourcesafe/how-to-manage-users-in-sourcesafe-vss.html</link>
		<comments>http://www.kevingao.net/sourcesafe/how-to-manage-users-in-sourcesafe-vss.html#comments</comments>
		<pubDate>Fri, 07 Nov 2008 05:50:25 +0000</pubDate>
		<dc:creator>Kevin Gao</dc:creator>
				<category><![CDATA[SourceSafe]]></category>

		<guid isPermaLink="false">http://www.kevingao.net/?p=446</guid>
		<description><![CDATA[This article is a part of SourceSafe / VSS Tutorial
Visual SourceSafe (VSS) users are based on VSS databases. When a VSS database is created, there will be two default users added to the database: Admin and Guest. As the database administrator, we need to add user accounts for all of the users who will work [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-right: 10px; padding-left: 10px; float: right; padding-bottom: 8px; margin-left: 8px; width: 190px; padding-top: 13px; height: 44px; background-color: #f5f5f5; text-align: center; border: #808080 1px dotted;"><strong>This article is a part of <a href="http://www.kevingao.net/sourcesafe-vss-how-to">SourceSafe / VSS Tutorial</a></strong></div>
<p>Visual SourceSafe (VSS) users are based on VSS databases. When a VSS database is created, there will be two default users added to the database: Admin and Guest. As the database administrator, we need to add user accounts for all of the users who will work on the database.</p>
<p> </p>
<p>To add a user in a VSS database, please follow steps below:</p>
<p>1. Log in <strong>Visual SourceSafe Administrator</strong> as Admin.</p>
<p>2. On the <strong>File</strong> menu, click <strong>Open SourceSafe Database</strong> to select a VSS database.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/user-opendatabase.png" alt="Open SourceSafe Database" /><br />
(Open SourceSafe Database)</p>
<p style="text-align: center;"> </p>
<p>3. On the <strong>Users</strong> menu, click <strong>Add User</strong> to bring up the <strong>Add User</strong> dialog box.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/user-adduser.png" alt="Add User" /><br />
(Add User)</p>
<p style="text-align: center;"> </p>
<p>4. Input the user name and password. Check the <strong>Read only</strong> option to assign the new user read-only permissions for the current database, or leave it unchecked to assign the new user read-write permissions.</p>
<p>5. Click <strong>OK</strong> to finish adding a new user.</p>
<p> </p>
<p>To edit a user in a VSS database, we can click <strong>Edit User</strong> on the <strong>Users</strong> menu in Visual SourceSafe Administrator, or we can just double-click the selected user, and the <strong>Edit User</strong> dialog box will prompt, as seen in the following screen shot:</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/user-edituser.png" alt="Edit User" /><br />
(Edit User)</p>
<p style="text-align: center;"> </p>
<p>If other users forget their passwords, we as Admin can click <strong>Change Password</strong> on the <strong>Users</strong> menu in Visual SourceSafe Administrator to reset their passwords.</p>
<p style="text-align: center;"><img src="http://www.kevingao.net/wp-content/uploads/2008/11/user-changepassword.png" alt="Change Password" /><br />
(Change Password)</p>
<p style="text-align: center;"> </p>
<p></p>
<table style="margin: 13px 0px 8px 10px; width: 98%; height: 44px; text-align: center; border: #808080 1px dotted;">
<tr height=100>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/version-control-source-control-sourceanywhere.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_sml.gif" alt="SourceAnywhere - the SQL Server-based SourceSafe Replacement" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6 style="border-right: #808080 1px dotted;">
		<font size=1>The SQL Server-based <b>Source Control Software</b> Designed to be a <b>SourceSafe Replacement</b></font></td>
<td width=120><a target=_blank href ="http://www.dynamsoft.com/Products/SAW_Overview.aspx"><img src="http://www.dynamsoft.com/images/logo_saw_vss_sml.gif" alt="SourceAnywhere for VSS - the Fastest SourceSafe Remote Access Tool Recommended by Microsoft" border="0" align=middle /></a></td>
<td bgcolor=#f6f6f6><font size=1>The <b>Fastest SourceSafe Remote Access</b> Tool <b><a target=_blank href ="http://msdn2.microsoft.com/en-us/vstudio/aa700908.aspx">Recommeded by Microsoft</a></b></font></td>
</tr>
</table>
<p>
<strong>Links:</strong><br />
Previous article &lt;&lt;&lt;&lt;: <a href="http://www.kevingao.net/sourcesafe/how-to-backup-restore-sourcesafe-vss-database.html">How to backup &#038; restore SourceSafe / VSS database</a><br />
Next article &gt;&gt;&gt;&gt;: <a href="http://www.kevingao.net/sourcesafe/how-to-manage-security-in-sourcesafe-vss.html">How to Manage Security in SourceSafe / VSS</a><br />
SourceSafe How To series home page: <a href="http://www.kevingao.net/sourcesafe-vss-how-to">VSS / SourceSafe Tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevingao.net/sourcesafe/how-to-manage-users-in-sourcesafe-vss.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
