<?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>Steven George&#039;s Blog</title>
	<atom:link href="http://bx.com.au/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://bx.com.au/blog</link>
	<description>Tech notes, solutions and comments about ASP.NET, SQL Server, PHP and other associated dribble</description>
	<lastBuildDate>Tue, 04 Oct 2011 08:47:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Xerox WorkCentre 228 and Windows 7 64 bit</title>
		<link>http://bx.com.au/blog/2011/10/xerox-workcentre-228-and-windows-7-64-bit/</link>
		<comments>http://bx.com.au/blog/2011/10/xerox-workcentre-228-and-windows-7-64-bit/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 08:43:09 +0000</pubDate>
		<dc:creator>Steven George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bx.com.au/blog/?p=94</guid>
		<description><![CDATA[These instructions detial how to set up a Windows 7 64 bit computer to use a Xerox Workcentre 228 printer connected to the LAN. Prerequisites: The printer needs some settings set first.  Log into the printers UI using a web browser and set these settings: NETBIOS name 1 &#8211; Must be blank Printer class &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>These instructions detial how to set up a Windows 7 64 bit computer to use a Xerox Workcentre 228 printer connected to the LAN.</p>
<p><strong>Prerequisites:</strong></p>
<p>The printer needs some settings set first.  Log into the printers UI using a web browser and set these settings:</p>
<ol>
<li>NETBIOS name 1 &#8211; Must be blank</li>
<li>Printer class &#8211; PCL/PC Kit</li>
</ol>
<p><strong>Instructions:</strong></p>
<ol>
<li>Download and install the <a href="http://www.support.xerox.com/support/global-printer-driver/downloads/enus.html?operatingSystem=win7x64">Xerox Global Print Driver for Windows 7 x64</a></li>
<li>Follow the isntructions to install the printer (eg: enter the IP address, give it a name, choose the Xerox driver, etc)</li>
<li>Once installed, under &#8220;Devices and Printers&#8221; right click the printer and select &#8220;Printing Preferences&#8221;</li>
<li>Under &#8220;Paper/Output&#8221; tab, change &#8220;Ouput Color&#8221; to &#8220;Black and White&#8221;</li>
<li>Under &#8220;Advanced&#8221; tab -&gt; &#8220;Document Options&#8221; -&gt; &#8220;Image Options&#8221;, change the &#8220;Graphics Mode&#8221; to &#8220;Raster&#8221;</li>
<li>Apply that change</li>
<li>Right click the printer again in &#8220;Devices and Printers&#8221; and select &#8220;Printer Properties&#8221;</li>
<li>Go to the &#8220;Advanced&#8221; tab</li>
<li>Uncheck &#8220;Enable advanced printing features&#8221;</li>
<li>Click the &#8220;Print Processor&#8221; button</li>
<li>Select winprint -&gt; NT EMF 1.003 <strong>(NOTE THIS MAY NOT BE REQUIRED.  TRY WITHOUT FIRST)</strong></li>
</ol>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">
<h4><a id="urlDownload" class="link" title="[70661]" href="http://www.support.xerox.com/support/workcentre-232-238/file-redirect/enus.html?operatingSystem=win7x64&amp;fileLanguage=en&amp;contentId=70661" target="_new">Xerox Global Print Driver</a></h4>
</div>
]]></content:encoded>
			<wfw:commentRss>http://bx.com.au/blog/2011/10/xerox-workcentre-228-and-windows-7-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating from Visual Source Safe (VSS) to Subversion (SVN) using VSS2SVN &#8211; Step by step</title>
		<link>http://bx.com.au/blog/2011/08/migrating-from-visual-source-safe-vss-to-subversion-svn-using-vss2svn-step-by-step/</link>
		<comments>http://bx.com.au/blog/2011/08/migrating-from-visual-source-safe-vss-to-subversion-svn-using-vss2svn-step-by-step/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 11:17:31 +0000</pubDate>
		<dc:creator>Steven George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bx.com.au/blog/?p=64</guid>
		<description><![CDATA[These are my notes for using the VSS2SVN tool to migrate a project from Visual Source Safe to Subversion. These notes were tested using Windows 7 32bit edition. Download and install VisualSVN Server version 1.6. It&#8217;s very important to install version 1.6 for the purposes of the migration. This version is very old but is [...]]]></description>
			<content:encoded><![CDATA[<p>These are my notes for using the <a href="http://vss2svn.codeplex.com/">VSS2SVN tool</a> to migrate a project from Visual Source Safe to Subversion. These notes were tested using Windows 7 32bit edition.</p>
<ol>
<li>Download and install <a href="http://www.visualsvn.com/server/changes/">VisualSVN Server version 1.6</a>.  It&#8217;s very important to install version 1.6 for the purposes of the migration.  This version is very old but is required for the VSS2SVN application.  VisualSVN luckily make all previous versions available so this is very handy.</li>
<li>Download and install <a href="http://vss2svn.codeplex.com/">VSS2SVN</a>.</a></li>
<li>Make a copy of your SourceSafe database.  This is the directory where VSS has been storing all your revision data.  In this directory will be a file called &#8220;srcsafe.ini&#8221;.  Don&#8217;t work with the original unless you like taking risks.</li>
<li>Open the VisualSVN Server interface.</li>
<li>Select &#8220;Create new user&#8221;</li>
<li>Create a user account for yourself</li>
<li>Right click on &#8220;Repositories&#8221; and chose &#8220;Create New Repository&#8230;&#8221;</li>
<li>Enter a name corresponding to the name of the project you are migrating.  Select &#8220;Create default structure&#8221;.</li>
<li>I don&#8217;t get it and I don&#8217;t know why, but you must set a pre-revision property change hook.  Right click your repo and choose &#8220;Properties&#8221;.  Go to the &#8220;Hooks&#8221; tab, click &#8220;Pre-revision property change hook&#8221; and click &#8220;Edit&#8221;.  In the textbox enter:  <code>exit /b 0</code></li>
<li>Now we need to analyse your VSS repo becuase most of the time there are corruptions and VSS2SVN wont work if thats the case.  From the command line enter:
<ul>
<li><code>"C:\Program Files\Microsoft Visual SourceSafe\analyze.exe" -F -V3 -D "c:\path\to\your\copy\of\the\sourcesafe\database\'data'\directory"</code></li>
</ul>
</li>
<li>If that step fails, your VSS database might be too corrupt to migrate (or even use)</li>
<li>Check out a working copy of the Subversion repository you just created.  From the command line enter:
<ul>
<li><code>"C:\Program Files\VisualSVN Server\bin\svn" co http://&lt;HOSTNAME&gt;/svn/&lt;REPO NAME&gt;/trunk/ c:\path\to\working\copy</code></li>
</ul>
</li>
<li>Now open VSS2SVN. Enter the following settings:
<ol>
<li><b>Path to Scrsafe.ini: </b>Enter the path to srcsafe.ini in your copy of the VSS database you made</li>
<li><b>Username: </b>The username you created in VisualSVN</li>
<li><b>Password: </b>The password you chose when creating the user in VisualSVN</li>
<li><b>VSS project to use: </b>Enter a dollar symbol ($) followed by a backslash (\) followed by the name of your VSS project as can be found using the Visual SourceSafe Explorer that comes with VSS. Eg: <code>$\MyProject</code></li>
</ol>
<li>Click &#8220;Find files in source safe&#8221;.  If you get an error saying a weird file like nbaaaaaa.b was not found, your VSS repo is probably corrupt and you need to run the analyse tool as mentioned above.</li>
<li>For &#8220;Working Directory&#8221; enter the path to your Subversion working directory you created when checking out above.</li>
<li>For &#8220;SVN path to use&#8221; enter URL of the trunk of your Subversion repositiory you created.  Eg: <code>http://&lt;HOST NAME&gt;/svn/repos/&lt;REPO NAME&gt;/trunk/</code></li>
<li>Click &#8220;Migrate to subversion&#8221;</li>
<li>Sit back; it might take a while</li>
</ol>
<p>After you&#8217;ve migrated all your projects, it would advisable to upgrade your VisualSVN and Subversion.</p>
]]></content:encoded>
			<wfw:commentRss>http://bx.com.au/blog/2011/08/migrating-from-visual-source-safe-vss-to-subversion-svn-using-vss2svn-step-by-step/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ultimate PHP error reporting wizard</title>
		<link>http://bx.com.au/blog/2011/07/ultimate-php-error-reporting-wizard/</link>
		<comments>http://bx.com.au/blog/2011/07/ultimate-php-error-reporting-wizard/#comments</comments>
		<pubDate>Mon, 25 Jul 2011 09:57:41 +0000</pubDate>
		<dc:creator>Steven George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bx.com.au/blog/?p=60</guid>
		<description><![CDATA[Instructing PHP which errors it should report on is not straightforward. You have to understand binary and bitwise operators. I decided to make a tool that takes the hard work out of it so you can get on with your job creating your web app. Enjoy. http://www.bx.com.au/tools/ultimate-php-error-reporting-wizard]]></description>
			<content:encoded><![CDATA[<p>Instructing PHP which errors it should report on is not straightforward.  You have to understand binary and bitwise operators.  I decided to make a tool that takes the hard work out of it so you can get on with your job creating your web app. Enjoy.</p>
<p><a href="http://www.bx.com.au/tools/ultimate-php-error-reporting-wizard">http://www.bx.com.au/tools/ultimate-php-error-reporting-wizard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bx.com.au/blog/2011/07/ultimate-php-error-reporting-wizard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Super Mario Bros on guitar &#8211; 80s metal style!</title>
		<link>http://bx.com.au/blog/2011/07/super-mario-bros-on-guitar-80s-metal-style/</link>
		<comments>http://bx.com.au/blog/2011/07/super-mario-bros-on-guitar-80s-metal-style/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 02:10:42 +0000</pubDate>
		<dc:creator>Steven George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bx.com.au/blog/?p=55</guid>
		<description><![CDATA[Super Mario Bros on guitar &#8211; 80s metal style!]]></description>
			<content:encoded><![CDATA[<p><iframe width="425" height="349" src="http://www.youtube.com/embed/yNKY4cYII28" frameborder="0" allowfullscreen></iframe></p>
<p><a href="http://www.youtube.com/embed/yNKY4cYII28">Super Mario Bros on guitar &#8211; 80s metal style!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bx.com.au/blog/2011/07/super-mario-bros-on-guitar-80s-metal-style/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trend.bz &#8211; The top internet trends in one place</title>
		<link>http://bx.com.au/blog/2011/05/trend-bz-the-top-internet-trends-in-one-place/</link>
		<comments>http://bx.com.au/blog/2011/05/trend-bz-the-top-internet-trends-in-one-place/#comments</comments>
		<pubDate>Tue, 31 May 2011 00:07:01 +0000</pubDate>
		<dc:creator>Steven George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bx.com.au/blog/?p=51</guid>
		<description><![CDATA[Trend.bz combines a whole heap of the top internet trends into one location.  Check out what&#8217;s hot on the internet right now including the top YouTube videos, the top Google searches, the top eBay items and more. http://trend.bz]]></description>
			<content:encoded><![CDATA[<p>Trend.bz combines a whole heap of the top internet trends into one location.  Check out what&#8217;s hot on the internet right now including the top YouTube videos, the top Google searches, the top eBay items and more.</p>
<p><a title="The top internet trends - right now" href="http://trend.bz">http://trend.bz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bx.com.au/blog/2011/05/trend-bz-the-top-internet-trends-in-one-place/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stop Outlook from formatting phone numbers</title>
		<link>http://bx.com.au/blog/2010/10/stop-outlook-from-formatting-phone-numbers/</link>
		<comments>http://bx.com.au/blog/2010/10/stop-outlook-from-formatting-phone-numbers/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 00:40:24 +0000</pubDate>
		<dc:creator>Steven George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bx.com.au/blog/?p=48</guid>
		<description><![CDATA[In Australia, mobile numbers are formatted like this: 0499 999 999 If you out that into an Outlook contact record, it will most likely format it in another stupid way. You can stop Microsoft Outlook from automatically formatting phone numbers in Windows 7 by: Clicking &#8220;Start&#8221; and search for &#8220;dialing rules&#8221; Select &#8220;Set up dialing [...]]]></description>
			<content:encoded><![CDATA[<p>In Australia, mobile numbers are formatted like this:</p>
<p>0499 999 999</p>
<p>If you out that into an Outlook contact record, it will most likely format it in another stupid way.</p>
<p>You can stop Microsoft Outlook from automatically formatting phone numbers in Windows 7 by:</p>
<ol>
<li>Clicking &#8220;Start&#8221; and search for &#8220;dialing rules&#8221;</li>
<li>Select &#8220;Set up dialing rules&#8221;</li>
<li>Edit the entry for &#8220;My location&#8221;</li>
<li>Set the area code to 1</li>
<li>Click ok twice</li>
</ol>
<p>Outlook will stop formatting phone numbers.  It&#8217;s a similar procedure on Windows Vista and XP.</p>
]]></content:encoded>
			<wfw:commentRss>http://bx.com.au/blog/2010/10/stop-outlook-from-formatting-phone-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a htaccess file in Windows</title>
		<link>http://bx.com.au/blog/2010/07/create-a-htaccess-file-in-windows/</link>
		<comments>http://bx.com.au/blog/2010/07/create-a-htaccess-file-in-windows/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 01:38:57 +0000</pubDate>
		<dc:creator>Steven George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://bx.com.au/blog/?p=45</guid>
		<description><![CDATA[Creating a .htaccess file using Windows is easy, just put double quotes around the file name when saving. For example, if you are using Notepad: Click File -&#62; Save As Enter the filename as: ".htaccess" (with the double quotes)]]></description>
			<content:encoded><![CDATA[<p>Creating a .htaccess file using Windows is easy, just put double quotes around the file name when saving.</p>
<p>For example, if you are using Notepad:</p>
<ol>
<li>Click File -&gt; Save As</li>
<li>Enter the filename as: <tt>".htaccess"</tt> (with the double quotes)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://bx.com.au/blog/2010/07/create-a-htaccess-file-in-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apache: Using htaccess to restrict access to a file</title>
		<link>http://bx.com.au/blog/2010/06/apache-using-htaccess-to-restrict-access-to-a-file/</link>
		<comments>http://bx.com.au/blog/2010/06/apache-using-htaccess-to-restrict-access-to-a-file/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 03:38:15 +0000</pubDate>
		<dc:creator>Steven George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://bx.com.au/blog/?p=38</guid>
		<description><![CDATA[As well as being able to restrict access to directories, you can restrict access to specific files using htaccess files in Apache. For example, to protect &#8220;secret.php&#8221; using basic auth: AuthType Basic AuthName "Authorised users only" AuthUserFile /path/to/user/file AuthGroupFile /path/to/group/file &#60;files secret.php&#62; Require user xxxx &#60;/files&#62;  ]]></description>
			<content:encoded><![CDATA[<p>As well as being able to restrict access to directories, you can restrict access to specific files using htaccess files in Apache.</p>
<p>For example, to protect &#8220;secret.php&#8221; using basic auth:</p>
<pre>AuthType Basic
AuthName "Authorised users only"
AuthUserFile /path/to/user/file
AuthGroupFile /path/to/group/file
&lt;files secret.php&gt;
Require user xxxx
&lt;/files&gt;
 
</pre>
]]></content:encoded>
			<wfw:commentRss>http://bx.com.au/blog/2010/06/apache-using-htaccess-to-restrict-access-to-a-file/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>OnClientClick and ASP.NET Validator controls</title>
		<link>http://bx.com.au/blog/2009/08/onclientclick-and-asp-net-validator-controls/</link>
		<comments>http://bx.com.au/blog/2009/08/onclientclick-and-asp-net-validator-controls/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 09:09:14 +0000</pubDate>
		<dc:creator>Steven George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Validator control]]></category>

		<guid isPermaLink="false">http://bx.com.au/blog/?p=22</guid>
		<description><![CDATA[If you use ASP.NET validator controls and try to use OnClientClick event, you will find that the validator wornt run. The solution is to add this to your javascript code: if(Page_ClientValidate()) From: http://alvinzc.blogspot.com/2006/10/aspnet-requiredfieldvalidator.html]]></description>
			<content:encoded><![CDATA[<p>If you use ASP.NET validator controls and try to use OnClientClick event, you will find that the validator wornt run. The solution is to add this to your javascript code:</p>
<pre>if(Page_ClientValidate())</pre>
<p>From: http://alvinzc.blogspot.com/2006/10/aspnet-requiredfieldvalidator.html</p>
]]></content:encoded>
			<wfw:commentRss>http://bx.com.au/blog/2009/08/onclientclick-and-asp-net-validator-controls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up WatiN with NUnit on Windows 7</title>
		<link>http://bx.com.au/blog/2009/07/setting-up-watin-with-nunit-on-windows-7/</link>
		<comments>http://bx.com.au/blog/2009/07/setting-up-watin-with-nunit-on-windows-7/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 09:09:00 +0000</pubDate>
		<dc:creator>Steven George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[NUnit]]></category>
		<category><![CDATA[WatiN]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://bx.com.au/blog/?p=20</guid>
		<description><![CDATA[Copy WatiN.Core.dll and Interop.SHDocVw.dll from the WatiN installation folder to your project&#8217;s bin folder Add &#8220;using WatiN.Core&#8221; directive to the top of your code The correct threadstate needs to be set (http://watin.sourceforge.net/apartmentstateinfo.html) Create a file in your bin directory which has the same name as your assembly or executable, but with &#8220;.config&#8221; at the end. [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>Copy WatiN.Core.dll and Interop.SHDocVw.dll from the WatiN installation folder to your project&#8217;s bin folder</li>
<li>Add &#8220;using WatiN.Core&#8221; directive to the top of your code</li>
<li>The correct threadstate needs to be set (http://watin.sourceforge.net/apartmentstateinfo.html)
<ol>
<li>Create a file in your bin directory which has the same name as your assembly or executable, but with &#8220;.config&#8221; at the end. Eg: FOr &#8220;myFile.exe&#8221; create &#8220;myFile.exe.config&#8221;</li>
<li>Paste in the following:
<pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
&lt;configuration&gt;
  &lt;configSections&gt;
    &lt;sectionGroup name="NUnit"&gt;
      &lt;section name="TestRunner" type="System.Configuration.NameValueSectionHandler"/&gt;
    &lt;/sectionGroup&gt;
  &lt;/configSections&gt;
  &lt;NUnit&gt;
    &lt;TestRunner&gt;
      &lt;!-- Valid values are STA,MTA. Others ignored. --&gt;
      &lt;add key="ApartmentState" value="STA" /&gt;
    &lt;/TestRunner&gt;
  &lt;/NUnit&gt;
&lt;/configuration&gt;</pre>
</li>
<li>That will let you run tests in NUnit if you load the assembly or executable directly into NUnit. If you want to create an NUnit project, you will also need to copy that config file into the directory that the NUnit project file is saved in.</li>
</ol>
</li>
<li>Add localhost, as well as any other external sites the application references to &#8220;Trusted Sites&#8221; in internet explorer. That means if you have google ads for example,. you will need to add googleads.g.doubleclick.net to the trusted sites list.</li>
<li>You need to run NUnit as Administrator</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://bx.com.au/blog/2009/07/setting-up-watin-with-nunit-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

