<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>You're a good looking blog, what's your owner's name?</title><link>http://www.richardjonas.com/blog/</link><description>Richard Jonas's blog about .NET, web development and agile methodologies.</description><language>en</language><managingEditor>noreply@blogger.com (Richard Jonas)</managingEditor><lastBuildDate>Fri, 20 Mar 2009 03:11:06 PDT</lastBuildDate><generator>Blogger</generator><atom:id xmlns:atom="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-9924016</atom:id><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">98</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/YoureAGoodLookingBlogWhatsYourOwnersName" type="application/rss+xml" /><feedburner:browserFriendly>This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site, subject to copyright and fair use.</feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>Visual Studio 2005 ASP.NET F5 Debugging performance</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/o3y-vl2L8TA/visual-studio-2005-aspnet-f5-debugging.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Wed, 17 Oct 2007 02:27:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-4265929578113697407</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-10-17T10:29:57.118+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><description>I was experiencing a delay of about a minute between pressing F5 to start debugging my ASP.NET application (VS2005 SP1, Vista) and anything appearing in the browser.

After researching this and installing various hotfixes, nothing improved.  Removing the google toolbar however seemed to make debugging return to its normal speed.&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=o3y-vl2L8TA:NZsQUJ2FWVc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=o3y-vl2L8TA:NZsQUJ2FWVc:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/10/visual-studio-2005-aspnet-f5-debugging.html</feedburner:origLink></item><item><title>ASP/ASPX pages giving 404 errors</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/aasiP9G1L1Y/aspaspx-pages-giving-404-errors.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Wed, 05 Sep 2007 03:12:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-8057551192374035509</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-09-05T11:16:35.044+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>In case I need to do this in future... I have been trying to copy a web site to a new web server (Windows Server 2003) and getting very confused about why .ASP and .ASPX pages were giving 404 errors, but HTML pages were displaying correctly.  The reason was "ASP.NET" and "Active Server Pages" in the Web Service Extensions directory were both set to "Prohibited".&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=aasiP9G1L1Y:qeAURsPDwOE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=aasiP9G1L1Y:qeAURsPDwOE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/09/aspaspx-pages-giving-404-errors.html</feedburner:origLink></item><item><title>The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/fc_WMGHJ9d4/underlying-connection-was-closed-could.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Wed, 29 Aug 2007 05:21:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-945523355009666842</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-08-29T13:27:39.288+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><description>I was getting an error message "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel." when trying to connect to an HTTPS site using an HttpWebRequest.

As the site I was connecting to was a test site from a 3rd party known to me, but not set up correctly at their end, to bypass this check I added the following line before calling GetRequestStream on my HttpWebRequest.


ServicePointManager.ServerCertificateValidationCallback 
+= new...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=fc_WMGHJ9d4:ttbwsiPix64:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=fc_WMGHJ9d4:ttbwsiPix64:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/08/underlying-connection-was-closed-could.html</feedburner:origLink></item><item><title>A set of principles for taking a new assignment</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/9ZnJ9EghBYk/set-of-principles-for-taking-new.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Mon, 06 Aug 2007 00:40:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-8979379621688805412</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-08-06T08:41:47.848+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Gerald M. Weinberg offers a  set of principles for taking on a new assignment.&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=9ZnJ9EghBYk:VwqgSWAHrzE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=9ZnJ9EghBYk:VwqgSWAHrzE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/08/set-of-principles-for-taking-new.html</feedburner:origLink></item><item><title>InternalsVisibleToAttribute, Unit Testing and Strong Names</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/ijJx5dJyAig/internalsvisibletoattribute-unit.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Tue, 12 Jun 2007 09:05:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-1628204968498951942</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-06-12T17:10:56.886+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>I previously posted about using the InternalsVisibleTo attibute for testing with NUnit.

I've had some problems building this with a stronly named assembly. I found the following post on Kent Boogaart's blog that describes how you should change the code in your assemblyinfo.cs file as follows:

[assembly: InternalsVisibleTo("Company")]

to

[assembly: InternalsVisibleTo("Company, PublicKey=xxxxxxxxxxxxxxxx")]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=ijJx5dJyAig:u-cIZiVOhxk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=ijJx5dJyAig:u-cIZiVOhxk:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/06/internalsvisibletoattribute-unit.html</feedburner:origLink></item><item><title>Adding a strong name to a third party dll</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/MLWn4bK2C8M/adding-strong-name-to-third-party-dll.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Tue, 12 Jun 2007 08:35:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-1789194481259313118</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-06-12T17:04:50.053+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>I've been trying to build an assembly with a strong name and had some problems as it referenced a 3rd party assembly which had been built without a strong name.

To add a strong name I disassembled and reassembled the 3rd party assmbly as follows:

ildasm /out:thirdparty.dll.il thirdparty.dll

ilasm /dll /resource=thirdparty.dll.res thirdparty.dll.il /out=thirdparty.dll /key=mykey.snk&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=MLWn4bK2C8M:y3KEK1lIgrA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=MLWn4bK2C8M:y3KEK1lIgrA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/06/adding-strong-name-to-third-party-dll.html</feedburner:origLink></item><item><title>World Environment Day</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/URJ1Ma61isA/world-environment-day.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Tue, 05 Jun 2007 06:07:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-590146512794430191</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-06-05T14:10:08.165+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>To celebrate World Environment Day, we have all been given a flowerpot, some peat and some forget-me-not seeds. You can follow whether the seeds grow into a beautiful plant or not here.&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=URJ1Ma61isA:n7hleQCFwsA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=URJ1Ma61isA:n7hleQCFwsA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/06/world-environment-day.html</feedburner:origLink></item><item><title>Refreshing Progress Bars</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/5Nf45dYznm8/refreshing-progress-bars.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Tue, 05 Jun 2007 06:01:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-7420983706713370074</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-06-05T14:05:33.958+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>I've been having some problems getting a progress bar to refresh, trying various calls to Refresh() and Invalidate() without much success. The solution to this is to create the dialog containing the progress bar in another thread, as described here.

Although the dialog is modeless, it should be displayed using ShowDialog(), not Show().&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=5Nf45dYznm8:GYg5GAJrluU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=5Nf45dYznm8:GYg5GAJrluU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/06/refreshing-progress-bars.html</feedburner:origLink></item><item><title>Standard for improving Standards</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/a3L922RK9FE/standard-for-improving-standards.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Wed, 16 May 2007 02:29:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-8413014088991101338</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-05-16T10:47:36.971+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Simon Baker suggests that standardisation does not have to supress innovation.

It's important to communicate the best ways of doing things, but standards are often enforced in a way that people are expected to accept without question.  However, there are often many ways of doing something, and the best way will change over time with changes in technology and changes in people.

Perhaps standards should be seen as something that should be followed, but when its thought they cause a problem,...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=a3L922RK9FE:0HIpnStyKz8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=a3L922RK9FE:0HIpnStyKz8:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/05/standard-for-improving-standards.html</feedburner:origLink></item><item><title>Visual Studio 2005 - Disappearing controls on Windows Form</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/1z2PDtZdWjU/visual-studio-2005-disappearing.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Mon, 16 Apr 2007 03:21:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-2540437238660774071</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-04-16T11:42:34.817+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><description>My computer crashed the other day and when I returned to edit my application, to my horror I noticed that the controls on a very complicated windows form that I was working on had vanished.   When I tried to edit it, all I got was an empty dialog box, but all the source code for my form was still there. 

I found several references to disappearing controls in VS2003, but they all said the problem had been fixed in VS2005.

The cause of this turned out to be that some lines had removed...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=1z2PDtZdWjU:vjHOb3CDCBo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=1z2PDtZdWjU:vjHOb3CDCBo:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/04/visual-studio-2005-disappearing.html</feedburner:origLink></item><item><title>Complete years between 2 dates</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/5n4rfvf3MMs/complete-years-between-2-dates.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Thu, 01 Mar 2007 08:23:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-8683633351981574453</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-03-01T16:27:31.941Z</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>A problem we have had calculating ages was due to it using the SQL Server "DateDiff" function. This counts the number of times a day crosses a boundary, e.g.

DateDiff(year,'12/31/2006','1/1/2007') is 1, as it crosses the 2006-2007 boundary.
DateDiff(year,'1/1/2006','12/31/2006') is 0 as it doesn't cross a year boundary.

I have written a function "yeardiff", which calculates the number of complete years between 2 dates, so

YearDiff('12/31/2006','1/1/2007') is...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=5n4rfvf3MMs:eo3NfUiHXZE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=5n4rfvf3MMs:eo3NfUiHXZE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/03/complete-years-between-2-dates.html</feedburner:origLink></item><item><title>Nant and licensed 3rd party controls</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/2auBqLdvHpM/nant-and-licensed-3rd-party-controls.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Tue, 06 Feb 2007 09:04:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-4572706992614129414</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-02-06T17:19:12.169Z</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>I've been having some problems building a project containing licensed grid and graph components from ComponentOne using NAnt. The project built correctly in Visual Studio, but when built with NAnt I got a box saying the component was not licensed.

I've found some others have had similar problems, but no solutions have been posted. I go it working after a lot of trial and error as follows:

1) Use an &amp;lt;exec&amp;gt; task to run the license compiler (lc.exe).
2) Ensure the /target: command does not...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=2auBqLdvHpM:yQWgNsGXSW8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=2auBqLdvHpM:yQWgNsGXSW8:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/02/nant-and-licensed-3rd-party-controls.html</feedburner:origLink></item><item><title>10 Characteristics of a great programmer</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/Zxrqn52ApEA/10-characteristics-of-great-programmer.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Tue, 06 Feb 2007 02:11:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-7213246628104649353</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-02-06T10:15:01.639Z</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Steve Riley has complied a great list of the 10 characteristics of a great programmer.

I'd agree with everything on the list - the one thing that is missing is that great programmers know why they are doing what they are doing - there's no point producing an excellent solution to the wrong problem.&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=Zxrqn52ApEA:qOlwFqSiAPo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=Zxrqn52ApEA:qOlwFqSiAPo:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/02/10-characteristics-of-great-programmer.html</feedburner:origLink></item><item><title>Cakes</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/wW1zA1b7mF0/cakes.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Thu, 25 Jan 2007 02:14:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-116972062289043617</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-01-25T10:23:43.213Z</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Cote writes about requirements gathering and cakes.

If your powerful boss asks you for a cake, you can't easily find out the details of what he wants.  You have to find out via secondary sources (e.g. the boss's calendar, asking the baker what sort of cakes the boss has ordered before).  The calendar may not be up to date, and the baker may not remember accurately.

This takes longer and is more likely to go wrong. If there are more steps than necessary in finding out requirements, the...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=wW1zA1b7mF0:jQuhNeDyW7g:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=wW1zA1b7mF0:jQuhNeDyW7g:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/01/cakes.html</feedburner:origLink></item><item><title>Personal Search Filter</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/57k6l9-pfjM/personal-search-filter.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Wed, 24 Jan 2007 07:44:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-116965506353585696</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-01-24T16:14:35.606Z</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>If you want to find out information about something, you will typically enter terms into a search engine.

The search engine will determine which results are most relevant (by using a complex algorithm based on how important it thinks the pages are). Everybody using this search engine will see the same results. 

The things you want to see might not be the same as the things others want to see. However, you are more likely to want to see things that people "compatible with you" liked. If A...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=57k6l9-pfjM:lZytq9UVlrg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=57k6l9-pfjM:lZytq9UVlrg:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/01/personal-search-filter.html</feedburner:origLink></item><item><title>Anti-tests</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/Hf0PcOS5vd0/anti-tests.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Fri, 12 Jan 2007 02:21:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-116860047515316186</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-01-12T11:14:35.216Z</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Charles Miller describes the concept of an "Anti-Test", which is a test that verifies a bug exists.

This can be written when the problem is discovered, even if it's not going to be fixed immediately.

It means that if the problem is inadvertently fixed as a result of something else, we know this has happened, have a look at why this is the case and update our records accordingly.  The test can then be changed to a normal test to make sure it doesn't go wrong again.

When you're ready to fix an...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=Hf0PcOS5vd0:Pu7u1x7NnTw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=Hf0PcOS5vd0:Pu7u1x7NnTw:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/01/anti-tests.html</feedburner:origLink></item><item><title>NAnt version</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/hnHOEQpjF-o/nant-version.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Fri, 12 Jan 2007 02:09:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-116859696891148915</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-01-12T10:16:08.926Z</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><description>I've been trying to add version numbers to a NAnt build script using the &amp;lt;version&amp;gt; task, and come across a problem with the script in Marc Holmes' "Expert .NET delivery" book. 

The  task increments a property called "buildnumber.version", not "sys.version". Adding the following line to the script (as described here) seems to fix it.

&amp;lt;property name="sys.version" value="${buildnumber.version}" /&amp;gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=hnHOEQpjF-o:r2aRKPl6H_I:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=hnHOEQpjF-o:r2aRKPl6H_I:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2007/01/nant-version.html</feedburner:origLink></item><item><title>Using attributes to specify the contents of a menu</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/V6kqcKxCJZ0/using-attributes-to-specify-contents.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Sun, 03 Dec 2006 08:22:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-116516743331551430</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2006-12-03T17:59:49.823Z</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>Most people think it is a good idea to separate business and presentation logic in your application, so you can update one without changing the other. When you create an application with a menu bar, the menu items will often call functions in your business logic, and&amp;nbsp;if you add a new business logic function you will need to add a handler in your presentation layer and the business logic function in your business logic layer.

This article describes how you can add attributes in your...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=V6kqcKxCJZ0:tycmN_yz3E0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=V6kqcKxCJZ0:tycmN_yz3E0:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2006/12/using-attributes-to-specify-contents.html</feedburner:origLink></item><item><title>InternalsVisibleToAttribute and Unit Testing</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/qqvUeUDRkdI/internalsvisibletoattribute-and-unit.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Sat, 21 Oct 2006 05:10:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-116143330761762781</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2006-10-21T13:21:48.050+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>When creating unit tests to be run with NUnit, I like to keep my tests in a separate assembly, which is not delivered when my project is deployed.  

This can make it difficult to create unit tests for classes that should not be visible outside of that assembly. One of my classes uses one of 3 strategy classes that encapsulate a feature of the business logic. I would normally declare these with the intern access modifier, but to test each strategy works I've needed to make them publically...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=qqvUeUDRkdI:tVgFR0Ki4cE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=qqvUeUDRkdI:tVgFR0Ki4cE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2006/10/internalsvisibletoattribute-and-unit.html</feedburner:origLink></item><item><title>Processes and Practices</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/-DFlExrmNOE/processes-and-practices.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Tue, 10 Oct 2006 14:33:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-116051665280473441</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2006-10-10T22:44:12.820+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><description>Jared Richardson describes a process he wants his team to follow.   Many others have attempted the same and have reached similar conclusions, and I can't disagree with any of Jared's thoughts.  

However, I think he misses out the most important part of the process which should be to regularly think about your process and what you have done and how you could have done it better. All processes and practices should be adaptable.  Different people have different strengths and new technologies mean...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=-DFlExrmNOE:FV6BjIivZdo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=-DFlExrmNOE:FV6BjIivZdo:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2006/10/processes-and-practices.html</feedburner:origLink></item><item><title>C# collection classes performance</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/_VP5tocRXyI/c-collection-classes-performance.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Tue, 10 Oct 2006 13:42:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-116051402912989502</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2006-10-10T22:00:29.200+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><description>I was looking for a table summarizing how different C# generic and non-generic collection classes performed, relative to one another, thought there would be hundreds available, but could not find one.  So here one is for my future reference, and for anyone else who reads this.



O(1) = constant time
O(log n) = time proportional to the log of the number of elements in the collection
O(n) = time proportional to the number of elements in the collection

Some collections are better for smaller...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=_VP5tocRXyI:UMaDeNU8OBk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=_VP5tocRXyI:UMaDeNU8OBk:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2006/10/c-collection-classes-performance.html</feedburner:origLink></item><item><title>The type or namespace name 'Properties' could not be found</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/v8sU2qbmFhE/type-or-namespace-name-properties.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Wed, 04 Oct 2006 02:25:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-115995428831957084</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2006-10-04T10:31:28.330+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>I was getting an error message when building my project that said "The type or namespace name 'Properties' could not be found".

This was because I had changed the default namespace in the properties for my project to make it "project.name" instead of "name".  The class that did not build was already in the namespace "project.name".

The error message was on a line that said 

"global::name.Properties.Resources...."

Changing this to

"global::project.name.Properties.Resources...." 

seemed to...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=v8sU2qbmFhE:lzVi305HvvU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=v8sU2qbmFhE:lzVi305HvvU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2006/10/type-or-namespace-name-properties.html</feedburner:origLink></item><item><title>Export to excel from SQL Server Express</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/1xpFp83cjNk/export-to-excel-from-sql-server.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Thu, 14 Sep 2006 02:23:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-115822661813213693</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2006-09-14T10:36:58.143+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total><description>Once upon a time, a big bad grizzly bear wanted to write a program to export a view from an SQL Server Express database (containing the names and addresses of sweet fluffy things he wanted to eat) to an Excel file.  As this was SQL server express, he tried to use DTEXEC and integration services, but growled ferociously when he realised that integration services was not supplied with excel, promising to sharpen his claws and tear apart Bill Gates.  

However, a passing raccoon came to his...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=1xpFp83cjNk:xx2MxDouYNU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=1xpFp83cjNk:xx2MxDouYNU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2006/09/export-to-excel-from-sql-server.html</feedburner:origLink></item><item><title>Shrinking an SQL Server 2000 Transaction Log</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/IzOYp2toxbo/shrinking-sql-server-2000-transaction.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Fri, 11 Aug 2006 04:54:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-115529988797338498</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2007-04-06T09:42:29.813+01:00</atom:updated><description>I have a database in which the transaction log grew to 19GB, taking up the entire disk space on the server it was on, and which could not be shrunk. Most of the things I found on the net didn't shrink this very much. 

However, I found the following script here which worked well, reducing it from 19GB to 52 MB.

http://www.thescripts.com/forum/thread79839.html


use database_name
go
create table shrinkfile(
col1 int,
col2 char(2048)
)

dump tran database_name with no_log
dbcc...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=IzOYp2toxbo:EiagRvsg1iY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=IzOYp2toxbo:EiagRvsg1iY:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2006/08/shrinking-sql-server-2000-transaction.html</feedburner:origLink></item><item><title>Updating .NET user controls on the screen</title><link>http://feedproxy.google.com/~r/YoureAGoodLookingBlogWhatsYourOwnersName/~3/vN09fxqDe_0/updating-net-user-controls-on-screen.html</link><author>noreply@blogger.com (Richard Jonas)</author><pubDate>Wed, 09 Aug 2006 23:57:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-9924016.post-115519346081474055</guid><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2006-08-10T08:04:20.823+01:00</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><description>I have some user controls that I need to add a lot of data to. This can be slow as the screen display is updated when each item of data is added.  It also makes the dislpay flicker.

I couldn't find an equivalent of the BeginUpdate and EndUpdate functions in .NET 2.0, but it is possible to call the Windows API functions as follows.


private const int WM_SETREDRAW = 11;

[System.Runtime.InteropServices.
DllImport("user32.dll")]
static extern bool SendMessage(IntPtr 
hWnd, Int32 msd, Int32...&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=vN09fxqDe_0:lIw3JX4_1Q4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?a=vN09fxqDe_0:lIw3JX4_1Q4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/YoureAGoodLookingBlogWhatsYourOwnersName?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://www.richardjonas.com/blog/2006/08/updating-net-user-controls-on-screen.html</feedburner:origLink></item></channel></rss>
