<?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:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Peter&amp;#39;s Software House</title><link>http://dotnet.org.za/pieter/default.aspx</link><description>Yet Another Rocket Scientist NOT! </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP2 (Build: 20611.960)</generator><creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by/3.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/psh" type="application/rss+xml" /><feedburner:emailServiceId>psh</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>Omea 3 Executable and Google Reader</title><link>http://feedproxy.google.com/~r/psh/~3/2GIwwFeaMCA/omea-3-executable-and-google-reader.aspx</link><pubDate>Sun, 04 Oct 2009 00:07:31 GMT</pubDate><guid isPermaLink="false">2d3a9e08-b70c-4031-ba2b-8f5282a2a59a:1222018</guid><dc:creator>Pieter</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://dotnet.org.za/pieter/rsscomments.aspx?PostID=1222018</wfw:commentRss><wfw:comment>http://dotnet.org.za/pieter/commentapi.aspx?PostID=1222018</wfw:comment><comments>http://dotnet.org.za/pieter/archive/2009/10/04/omea-3-executable-and-google-reader.aspx#comments</comments><description>&lt;p&gt;I went over the unpublished comments on my blog a couple of days ago and in between the thousands of spam comments I found a number of comments that I approved and published.&amp;#160; I had quite a few ask me for a link to Omea 3 executables.&amp;#160; So I’ve uploaded the BinRelease folder from my PC and put it on my &lt;a href="http://skydrive.live.com/" target="_blank"&gt;SkyDrive&lt;/a&gt;.&amp;#160; I hope it works for those that try it.&amp;#160; here is the link: &lt;a title="http://cid-95226bf8d5337e4d.skydrive.live.com/self.aspx/Public/Omea3%20BinRelease.rar" href="http://cid-95226bf8d5337e4d.skydrive.live.com/self.aspx/Public/Omea3%20BinRelease.rar"&gt;http://cid-95226bf8d5337e4d.skydrive.live.com/self.aspx/Public/Omea3%20BinRelease.rar&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;If it doesn’t work drop me a line (comment here, or send me a message) and I’ll try and help.&lt;/p&gt;  &lt;p&gt;I loved using Omea, but I’ve since moved on.&amp;#160; I now use &lt;a href="http://www.google.com/" target="_blank"&gt;Google&lt;/a&gt;&amp;#160;&lt;a href="http://reader.google.com" target="_blank"&gt;Reader&lt;/a&gt; and must say it does the job for me.&amp;#160; I can now read my blogs anywhere I want.&amp;#160; No more concerns about moving my subscriptions from PC to PC.&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://dotnet.org.za/pieter/archive/2009/10/04/omea-3-executable-and-google-reader.aspx&amp;amp;;subject=Omea+3+Executable+and+Google+Reader" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/04/omea-3-executable-and-google-reader.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://dotnet.org.za/pieter/archive/2009/10/04/omea-3-executable-and-google-reader.aspx&amp;amp;;title=Omea+3+Executable+and+Google+Reader" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/04/omea-3-executable-and-google-reader.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://dotnet.org.za/pieter/archive/2009/10/04/omea-3-executable-and-google-reader.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/04/omea-3-executable-and-google-reader.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://dotnet.org.za/pieter/archive/2009/10/04/omea-3-executable-and-google-reader.aspx&amp;amp;title=Omea+3+Executable+and+Google+Reader" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/04/omea-3-executable-and-google-reader.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://dotnet.org.za/pieter/archive/2009/10/04/omea-3-executable-and-google-reader.aspx&amp;amp;;title=Omea+3+Executable+and+Google+Reader" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/04/omea-3-executable-and-google-reader.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://dotnet.org.za/pieter/archive/2009/10/04/omea-3-executable-and-google-reader.aspx&amp;amp;;title=Omea+3+Executable+and+Google+Reader&amp;amp;;top=1" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/04/omea-3-executable-and-google-reader.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnet.org.za/aggbug.aspx?PostID=1222018" width="1" height="1"&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5-7uk4zwxMj2pkw3LG9xycdD0r0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5-7uk4zwxMj2pkw3LG9xycdD0r0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5-7uk4zwxMj2pkw3LG9xycdD0r0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5-7uk4zwxMj2pkw3LG9xycdD0r0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/psh?a=2GIwwFeaMCA:QhfOkJwkzHk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=2GIwwFeaMCA:QhfOkJwkzHk:D7DqB2pKExk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=2GIwwFeaMCA:QhfOkJwkzHk:D7DqB2pKExk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=2GIwwFeaMCA:QhfOkJwkzHk:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=2GIwwFeaMCA:QhfOkJwkzHk:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=2GIwwFeaMCA:QhfOkJwkzHk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=2GIwwFeaMCA:QhfOkJwkzHk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=2GIwwFeaMCA:QhfOkJwkzHk:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=2GIwwFeaMCA:QhfOkJwkzHk:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/psh/~4/2GIwwFeaMCA" height="1" width="1"/&gt;</description><category domain="http://dotnet.org.za/pieter/archive/tags/Other+Stuff/default.aspx">Other Stuff</category><feedburner:origLink>http://dotnet.org.za/pieter/archive/2009/10/04/omea-3-executable-and-google-reader.aspx</feedburner:origLink></item><item><title>Minimizing the Ribbon</title><link>http://feedproxy.google.com/~r/psh/~3/MXsXtYyCFz0/minimizing-the-ribbon.aspx</link><pubDate>Sat, 03 Oct 2009 23:36:14 GMT</pubDate><guid isPermaLink="false">2d3a9e08-b70c-4031-ba2b-8f5282a2a59a:1221957</guid><dc:creator>Pieter</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://dotnet.org.za/pieter/rsscomments.aspx?PostID=1221957</wfw:commentRss><wfw:comment>http://dotnet.org.za/pieter/commentapi.aspx?PostID=1221957</wfw:comment><comments>http://dotnet.org.za/pieter/archive/2009/10/04/minimizing-the-ribbon.aspx#comments</comments><description>&lt;p&gt;The &lt;a href="http://en.wikipedia.org/wiki/Ribbon_(computing)" target="_blank"&gt;Ribbon&lt;/a&gt; &lt;a href="http://www.microsoft.com/" target="_blank"&gt;Microsoft&lt;/a&gt; has introduced in &lt;a href="http://en.wikipedia.org/wiki/Microsoft_Office_2007" target="_blank"&gt;Office 2007&lt;/a&gt; takes up a lot of real estate.&amp;#160; This is especially apparent when you use a laptop with a smaller screen or one of the new very popular netbooks.&amp;#160; Most people it seems though does not realize, but you can minimize the Ribbon.&amp;#160; All you need to do is right click anywhere on the Ribbon and select the ‘Minimize the Ribbon’ options.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://dotnet.org.za/blogs/pieter/image_2C0BB937.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="image" border="0" alt="image" src="http://dotnet.org.za/blogs/pieter/image_thumb_74C7C2AC.png" width="479" height="181" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now the Ribbon will be minimized and you will have quite a bit of extra space to work with.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://dotnet.org.za/blogs/pieter/image_3ADB1071.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="image" border="0" alt="image" src="http://dotnet.org.za/blogs/pieter/image_thumb_1C26B737.png" width="294" height="129" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;If you need to use the Ribbon, simple place your mouse pointer over the minimized Ribbon and it will drop down for you to use.&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://dotnet.org.za/pieter/archive/2009/10/04/minimizing-the-ribbon.aspx&amp;amp;;subject=Minimizing+the+Ribbon" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/04/minimizing-the-ribbon.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://dotnet.org.za/pieter/archive/2009/10/04/minimizing-the-ribbon.aspx&amp;amp;;title=Minimizing+the+Ribbon" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/04/minimizing-the-ribbon.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://dotnet.org.za/pieter/archive/2009/10/04/minimizing-the-ribbon.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/04/minimizing-the-ribbon.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://dotnet.org.za/pieter/archive/2009/10/04/minimizing-the-ribbon.aspx&amp;amp;title=Minimizing+the+Ribbon" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/04/minimizing-the-ribbon.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://dotnet.org.za/pieter/archive/2009/10/04/minimizing-the-ribbon.aspx&amp;amp;;title=Minimizing+the+Ribbon" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/04/minimizing-the-ribbon.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://dotnet.org.za/pieter/archive/2009/10/04/minimizing-the-ribbon.aspx&amp;amp;;title=Minimizing+the+Ribbon&amp;amp;;top=1" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/04/minimizing-the-ribbon.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnet.org.za/aggbug.aspx?PostID=1221957" width="1" height="1"&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7AZLQeNdhUveotHQ9_-sFJe6b9I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7AZLQeNdhUveotHQ9_-sFJe6b9I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7AZLQeNdhUveotHQ9_-sFJe6b9I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7AZLQeNdhUveotHQ9_-sFJe6b9I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/psh?a=MXsXtYyCFz0:uGAE4bdB12w:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=MXsXtYyCFz0:uGAE4bdB12w:D7DqB2pKExk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=MXsXtYyCFz0:uGAE4bdB12w:D7DqB2pKExk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=MXsXtYyCFz0:uGAE4bdB12w:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=MXsXtYyCFz0:uGAE4bdB12w:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=MXsXtYyCFz0:uGAE4bdB12w:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=MXsXtYyCFz0:uGAE4bdB12w:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=MXsXtYyCFz0:uGAE4bdB12w:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=MXsXtYyCFz0:uGAE4bdB12w:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/psh/~4/MXsXtYyCFz0" height="1" width="1"/&gt;</description><category domain="http://dotnet.org.za/pieter/archive/tags/MS+Office/default.aspx">MS Office</category><category domain="http://dotnet.org.za/pieter/archive/tags/Microsoft/default.aspx">Microsoft</category><feedburner:origLink>http://dotnet.org.za/pieter/archive/2009/10/04/minimizing-the-ribbon.aspx</feedburner:origLink></item><item><title>Busy playing with .NET Reflector Version 6.0.0.x</title><link>http://feedproxy.google.com/~r/psh/~3/HXgmnp6eQaU/busy-playing-with-net-reflector-version-6-0-0-x.aspx</link><pubDate>Thu, 01 Oct 2009 21:59:09 GMT</pubDate><guid isPermaLink="false">2d3a9e08-b70c-4031-ba2b-8f5282a2a59a:1218227</guid><dc:creator>Pieter</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://dotnet.org.za/pieter/rsscomments.aspx?PostID=1218227</wfw:commentRss><wfw:comment>http://dotnet.org.za/pieter/commentapi.aspx?PostID=1218227</wfw:comment><comments>http://dotnet.org.za/pieter/archive/2009/10/02/busy-playing-with-net-reflector-version-6-0-0-x.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://dotnet.org.za/blogs/pieter/image_7A3ED550.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="image" border="0" alt="image" src="http://dotnet.org.za/blogs/pieter/image_thumb_79690017.png" width="320" height="269" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Go and get it from the &lt;a href="http://www.red-gate.com/MessageBoard/viewforum.php?f=109" target="_blank"&gt;EAP&lt;/a&gt; over at &lt;a href="http://www.red-gate.com" target="_blank"&gt;Red-Gate&lt;/a&gt;.&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://dotnet.org.za/pieter/archive/2009/10/02/busy-playing-with-net-reflector-version-6-0-0-x.aspx&amp;amp;;subject=Busy+playing+with+.NET+Reflector+Version+6.0.0.x" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/02/busy-playing-with-net-reflector-version-6-0-0-x.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://dotnet.org.za/pieter/archive/2009/10/02/busy-playing-with-net-reflector-version-6-0-0-x.aspx&amp;amp;;title=Busy+playing+with+.NET+Reflector+Version+6.0.0.x" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/02/busy-playing-with-net-reflector-version-6-0-0-x.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://dotnet.org.za/pieter/archive/2009/10/02/busy-playing-with-net-reflector-version-6-0-0-x.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/02/busy-playing-with-net-reflector-version-6-0-0-x.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://dotnet.org.za/pieter/archive/2009/10/02/busy-playing-with-net-reflector-version-6-0-0-x.aspx&amp;amp;title=Busy+playing+with+.NET+Reflector+Version+6.0.0.x" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/02/busy-playing-with-net-reflector-version-6-0-0-x.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://dotnet.org.za/pieter/archive/2009/10/02/busy-playing-with-net-reflector-version-6-0-0-x.aspx&amp;amp;;title=Busy+playing+with+.NET+Reflector+Version+6.0.0.x" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/02/busy-playing-with-net-reflector-version-6-0-0-x.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://dotnet.org.za/pieter/archive/2009/10/02/busy-playing-with-net-reflector-version-6-0-0-x.aspx&amp;amp;;title=Busy+playing+with+.NET+Reflector+Version+6.0.0.x&amp;amp;;top=1" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/02/busy-playing-with-net-reflector-version-6-0-0-x.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnet.org.za/aggbug.aspx?PostID=1218227" width="1" height="1"&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NZEGBli2TfD0qWGs42k5bIw9zx8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NZEGBli2TfD0qWGs42k5bIw9zx8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NZEGBli2TfD0qWGs42k5bIw9zx8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NZEGBli2TfD0qWGs42k5bIw9zx8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/psh?a=HXgmnp6eQaU:tRxwKVd3FaA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=HXgmnp6eQaU:tRxwKVd3FaA:D7DqB2pKExk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=HXgmnp6eQaU:tRxwKVd3FaA:D7DqB2pKExk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=HXgmnp6eQaU:tRxwKVd3FaA:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=HXgmnp6eQaU:tRxwKVd3FaA:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=HXgmnp6eQaU:tRxwKVd3FaA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=HXgmnp6eQaU:tRxwKVd3FaA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=HXgmnp6eQaU:tRxwKVd3FaA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=HXgmnp6eQaU:tRxwKVd3FaA:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/psh/~4/HXgmnp6eQaU" height="1" width="1"/&gt;</description><category domain="http://dotnet.org.za/pieter/archive/tags/.Net/default.aspx">.Net</category><feedburner:origLink>http://dotnet.org.za/pieter/archive/2009/10/02/busy-playing-with-net-reflector-version-6-0-0-x.aspx</feedburner:origLink></item><item><title>Get the Column information for a Table using T-SQL</title><link>http://feedproxy.google.com/~r/psh/~3/wUdJTXPeWLo/get-the-column-information-for-a-table-using-t-sql.aspx</link><pubDate>Wed, 30 Sep 2009 23:41:33 GMT</pubDate><guid isPermaLink="false">2d3a9e08-b70c-4031-ba2b-8f5282a2a59a:1216643</guid><dc:creator>Pieter</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://dotnet.org.za/pieter/rsscomments.aspx?PostID=1216643</wfw:commentRss><wfw:comment>http://dotnet.org.za/pieter/commentapi.aspx?PostID=1216643</wfw:comment><comments>http://dotnet.org.za/pieter/archive/2009/10/01/get-the-column-information-for-a-table-using-t-sql.aspx#comments</comments><description>&lt;p&gt;It is really simple really, in this sample I am getting the column information for a table called ‘Account’:&lt;/p&gt;  &lt;pre class="brush: sql; auto-links: false;"&gt;SELECT     Columns.name AS ColumnName, ColumnTypes.name AS Type, Columns.prec AS Precision, Columns.scale AS Scale, 
                      Columns.isnullable AS IsNullable
FROM         sys.sysobjects AS Tables INNER JOIN
                      sys.syscolumns AS Columns ON Columns.id = Tables.id INNER JOIN
                      sys.systypes AS ColumnTypes ON Columns.xtype = ColumnTypes.xtype
WHERE     (Tables.type = &amp;#39;U&amp;#39;) AND (Tables.name = N&amp;#39;Account&amp;#39;)
ORDER BY ColumnName&lt;/pre&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://dotnet.org.za/pieter/archive/2009/10/01/get-the-column-information-for-a-table-using-t-sql.aspx&amp;amp;;subject=Get+the+Column+information+for+a+Table+using+T-SQL" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/01/get-the-column-information-for-a-table-using-t-sql.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://dotnet.org.za/pieter/archive/2009/10/01/get-the-column-information-for-a-table-using-t-sql.aspx&amp;amp;;title=Get+the+Column+information+for+a+Table+using+T-SQL" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/01/get-the-column-information-for-a-table-using-t-sql.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://dotnet.org.za/pieter/archive/2009/10/01/get-the-column-information-for-a-table-using-t-sql.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/01/get-the-column-information-for-a-table-using-t-sql.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://dotnet.org.za/pieter/archive/2009/10/01/get-the-column-information-for-a-table-using-t-sql.aspx&amp;amp;title=Get+the+Column+information+for+a+Table+using+T-SQL" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/01/get-the-column-information-for-a-table-using-t-sql.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://dotnet.org.za/pieter/archive/2009/10/01/get-the-column-information-for-a-table-using-t-sql.aspx&amp;amp;;title=Get+the+Column+information+for+a+Table+using+T-SQL" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/01/get-the-column-information-for-a-table-using-t-sql.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://dotnet.org.za/pieter/archive/2009/10/01/get-the-column-information-for-a-table-using-t-sql.aspx&amp;amp;;title=Get+the+Column+information+for+a+Table+using+T-SQL&amp;amp;;top=1" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/01/get-the-column-information-for-a-table-using-t-sql.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnet.org.za/aggbug.aspx?PostID=1216643" width="1" height="1"&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/guudl6GUzmClVe1tMb1yRR7Lxb0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/guudl6GUzmClVe1tMb1yRR7Lxb0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/guudl6GUzmClVe1tMb1yRR7Lxb0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/guudl6GUzmClVe1tMb1yRR7Lxb0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/psh?a=wUdJTXPeWLo:NzLyiQZk1vU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=wUdJTXPeWLo:NzLyiQZk1vU:D7DqB2pKExk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=wUdJTXPeWLo:NzLyiQZk1vU:D7DqB2pKExk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=wUdJTXPeWLo:NzLyiQZk1vU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=wUdJTXPeWLo:NzLyiQZk1vU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=wUdJTXPeWLo:NzLyiQZk1vU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=wUdJTXPeWLo:NzLyiQZk1vU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=wUdJTXPeWLo:NzLyiQZk1vU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=wUdJTXPeWLo:NzLyiQZk1vU:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/psh/~4/wUdJTXPeWLo" height="1" width="1"/&gt;</description><category domain="http://dotnet.org.za/pieter/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://dotnet.org.za/pieter/archive/tags/TSQL/default.aspx">TSQL</category><feedburner:origLink>http://dotnet.org.za/pieter/archive/2009/10/01/get-the-column-information-for-a-table-using-t-sql.aspx</feedburner:origLink></item><item><title>Get all the user Tables, Views or Stored Procedures for a Database with their schema using T-SQL</title><link>http://feedproxy.google.com/~r/psh/~3/5Ybsl1Xm4hI/get-all-the-user-tables-views-or-stored-procedures-for-a-database-with-their-schema-using-t-sql.aspx</link><pubDate>Wed, 30 Sep 2009 23:15:57 GMT</pubDate><guid isPermaLink="false">2d3a9e08-b70c-4031-ba2b-8f5282a2a59a:1216603</guid><dc:creator>Pieter</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://dotnet.org.za/pieter/rsscomments.aspx?PostID=1216603</wfw:commentRss><wfw:comment>http://dotnet.org.za/pieter/commentapi.aspx?PostID=1216603</wfw:comment><comments>http://dotnet.org.za/pieter/archive/2009/10/01/get-all-the-user-tables-views-or-stored-procedures-for-a-database-with-their-schema-using-t-sql.aspx#comments</comments><description>&lt;p&gt;Get all the Tables:&lt;/p&gt; &lt;pre class="brush: csharp; auto-links: false;"&gt;SELECT     sys.schemas.name AS [Schema], sys.sysobjects.name
FROM         sys.sysobjects INNER JOIN
                      sys.schemas ON sys.sysobjects.uid = sys.schemas.schema_id
WHERE     (sys.sysobjects.type = &amp;#39;U&amp;#39;)
ORDER BY sys.sysobjects.name&lt;/pre&gt;

&lt;p&gt;Get all the Views:&lt;/p&gt;
&lt;pre class="brush: csharp; auto-links: false;"&gt;SELECT     sys.schemas.name AS [Schema], sys.sysobjects.name
FROM         sys.sysobjects INNER JOIN
                      sys.schemas ON sys.sysobjects.uid = sys.schemas.schema_id
WHERE     (sys.sysobjects.type = &amp;#39;V&amp;#39;)
ORDER BY sys.sysobjects.name&lt;/pre&gt;

&lt;p&gt;Get all the Stored Procedures:&lt;/p&gt;
&lt;pre class="brush: csharp; auto-links: false;"&gt;SELECT     sys.schemas.name AS [Schema], sys.sysobjects.name
FROM         sys.sysobjects INNER JOIN
                      sys.schemas ON sys.sysobjects.uid = sys.schemas.schema_id
WHERE     (sys.sysobjects.type = &amp;#39;P&amp;#39;)
ORDER BY sys.sysobjects.name&lt;/pre&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://dotnet.org.za/pieter/archive/2009/10/01/get-all-the-user-tables-views-or-stored-procedures-for-a-database-with-their-schema-using-t-sql.aspx&amp;amp;;subject=Get+all+the+user+Tables%2c+Views+or+Stored+Procedures+for+a+Database+with+their+schema+using+T-SQL" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/01/get-all-the-user-tables-views-or-stored-procedures-for-a-database-with-their-schema-using-t-sql.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://dotnet.org.za/pieter/archive/2009/10/01/get-all-the-user-tables-views-or-stored-procedures-for-a-database-with-their-schema-using-t-sql.aspx&amp;amp;;title=Get+all+the+user+Tables%2c+Views+or+Stored+Procedures+for+a+Database+with+their+schema+using+T-SQL" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/01/get-all-the-user-tables-views-or-stored-procedures-for-a-database-with-their-schema-using-t-sql.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://dotnet.org.za/pieter/archive/2009/10/01/get-all-the-user-tables-views-or-stored-procedures-for-a-database-with-their-schema-using-t-sql.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/01/get-all-the-user-tables-views-or-stored-procedures-for-a-database-with-their-schema-using-t-sql.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://dotnet.org.za/pieter/archive/2009/10/01/get-all-the-user-tables-views-or-stored-procedures-for-a-database-with-their-schema-using-t-sql.aspx&amp;amp;title=Get+all+the+user+Tables%2c+Views+or+Stored+Procedures+for+a+Database+with+their+schema+using+T-SQL" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/01/get-all-the-user-tables-views-or-stored-procedures-for-a-database-with-their-schema-using-t-sql.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://dotnet.org.za/pieter/archive/2009/10/01/get-all-the-user-tables-views-or-stored-procedures-for-a-database-with-their-schema-using-t-sql.aspx&amp;amp;;title=Get+all+the+user+Tables%2c+Views+or+Stored+Procedures+for+a+Database+with+their+schema+using+T-SQL" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/01/get-all-the-user-tables-views-or-stored-procedures-for-a-database-with-their-schema-using-t-sql.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://dotnet.org.za/pieter/archive/2009/10/01/get-all-the-user-tables-views-or-stored-procedures-for-a-database-with-their-schema-using-t-sql.aspx&amp;amp;;title=Get+all+the+user+Tables%2c+Views+or+Stored+Procedures+for+a+Database+with+their+schema+using+T-SQL&amp;amp;;top=1" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/10/01/get-all-the-user-tables-views-or-stored-procedures-for-a-database-with-their-schema-using-t-sql.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnet.org.za/aggbug.aspx?PostID=1216603" width="1" height="1"&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_zh_4sQFrarHZYj3y_WxY-oKBhE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_zh_4sQFrarHZYj3y_WxY-oKBhE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_zh_4sQFrarHZYj3y_WxY-oKBhE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_zh_4sQFrarHZYj3y_WxY-oKBhE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/psh?a=5Ybsl1Xm4hI:tNG_M-zWYig:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=5Ybsl1Xm4hI:tNG_M-zWYig:D7DqB2pKExk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=5Ybsl1Xm4hI:tNG_M-zWYig:D7DqB2pKExk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=5Ybsl1Xm4hI:tNG_M-zWYig:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=5Ybsl1Xm4hI:tNG_M-zWYig:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=5Ybsl1Xm4hI:tNG_M-zWYig:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=5Ybsl1Xm4hI:tNG_M-zWYig:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=5Ybsl1Xm4hI:tNG_M-zWYig:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=5Ybsl1Xm4hI:tNG_M-zWYig:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/psh/~4/5Ybsl1Xm4hI" height="1" width="1"/&gt;</description><category domain="http://dotnet.org.za/pieter/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://dotnet.org.za/pieter/archive/tags/TSQL/default.aspx">TSQL</category><feedburner:origLink>http://dotnet.org.za/pieter/archive/2009/10/01/get-all-the-user-tables-views-or-stored-procedures-for-a-database-with-their-schema-using-t-sql.aspx</feedburner:origLink></item><item><title>Set the dictionary to use in Word 2007</title><link>http://feedproxy.google.com/~r/psh/~3/9AQC5kADlCM/set-the-dictionary-to-use-in-word-2007.aspx</link><pubDate>Tue, 29 Sep 2009 07:16:00 GMT</pubDate><guid isPermaLink="false">2d3a9e08-b70c-4031-ba2b-8f5282a2a59a:1214280</guid><dc:creator>Pieter</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://dotnet.org.za/pieter/rsscomments.aspx?PostID=1214280</wfw:commentRss><wfw:comment>http://dotnet.org.za/pieter/commentapi.aspx?PostID=1214280</wfw:comment><comments>http://dotnet.org.za/pieter/archive/2009/09/29/set-the-dictionary-to-use-in-word-2007.aspx#comments</comments><description>&lt;p&gt;In Word 2007 you can pick a different language setting at any time.&amp;#160; This is especially useful if you write in several languages or simply different English dialects. ;)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://dotnet.org.za/blogs/pieter/image_763E7C91.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="image" border="0" alt="image" src="http://dotnet.org.za/blogs/pieter/image_thumb_24E158E9.png" width="397" height="65" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Click on the language bar on the bottom left hand side of the Word status bar.&lt;/p&gt;  &lt;p&gt;You will get the following view:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://dotnet.org.za/blogs/pieter/image_0C0CC4AA.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="image" border="0" alt="image" src="http://dotnet.org.za/blogs/pieter/image_thumb_0890C471.png" width="334" height="301" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Select your language you want to use or make a different language the default by clicking the ‘Default…’ button.&amp;#160; &lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://dotnet.org.za/pieter/archive/2009/09/29/set-the-dictionary-to-use-in-word-2007.aspx&amp;amp;;subject=Set+the+dictionary+to+use+in+Word+2007" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/09/29/set-the-dictionary-to-use-in-word-2007.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://dotnet.org.za/pieter/archive/2009/09/29/set-the-dictionary-to-use-in-word-2007.aspx&amp;amp;;title=Set+the+dictionary+to+use+in+Word+2007" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/09/29/set-the-dictionary-to-use-in-word-2007.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://dotnet.org.za/pieter/archive/2009/09/29/set-the-dictionary-to-use-in-word-2007.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/09/29/set-the-dictionary-to-use-in-word-2007.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://dotnet.org.za/pieter/archive/2009/09/29/set-the-dictionary-to-use-in-word-2007.aspx&amp;amp;title=Set+the+dictionary+to+use+in+Word+2007" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/09/29/set-the-dictionary-to-use-in-word-2007.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://dotnet.org.za/pieter/archive/2009/09/29/set-the-dictionary-to-use-in-word-2007.aspx&amp;amp;;title=Set+the+dictionary+to+use+in+Word+2007" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/09/29/set-the-dictionary-to-use-in-word-2007.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://dotnet.org.za/pieter/archive/2009/09/29/set-the-dictionary-to-use-in-word-2007.aspx&amp;amp;;title=Set+the+dictionary+to+use+in+Word+2007&amp;amp;;top=1" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/09/29/set-the-dictionary-to-use-in-word-2007.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnet.org.za/aggbug.aspx?PostID=1214280" width="1" height="1"&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/CUQvQSNfmcEOi0EKNpBNP5YOaGU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CUQvQSNfmcEOi0EKNpBNP5YOaGU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/CUQvQSNfmcEOi0EKNpBNP5YOaGU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CUQvQSNfmcEOi0EKNpBNP5YOaGU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/psh?a=9AQC5kADlCM:TZV5Lfs-aOI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=9AQC5kADlCM:TZV5Lfs-aOI:D7DqB2pKExk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=9AQC5kADlCM:TZV5Lfs-aOI:D7DqB2pKExk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=9AQC5kADlCM:TZV5Lfs-aOI:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=9AQC5kADlCM:TZV5Lfs-aOI:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=9AQC5kADlCM:TZV5Lfs-aOI:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=9AQC5kADlCM:TZV5Lfs-aOI:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=9AQC5kADlCM:TZV5Lfs-aOI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=9AQC5kADlCM:TZV5Lfs-aOI:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/psh/~4/9AQC5kADlCM" height="1" width="1"/&gt;</description><category domain="http://dotnet.org.za/pieter/archive/tags/Other+Stuff/default.aspx">Other Stuff</category><category domain="http://dotnet.org.za/pieter/archive/tags/Microsoft/default.aspx">Microsoft</category><feedburner:origLink>http://dotnet.org.za/pieter/archive/2009/09/29/set-the-dictionary-to-use-in-word-2007.aspx</feedburner:origLink></item><item><title>Things I learned last week #3</title><link>http://feedproxy.google.com/~r/psh/~3/pTGk2fc5crI/things-i-learned-last-week-3.aspx</link><pubDate>Sun, 20 Sep 2009 00:55:18 GMT</pubDate><guid isPermaLink="false">2d3a9e08-b70c-4031-ba2b-8f5282a2a59a:1202785</guid><dc:creator>Pieter</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://dotnet.org.za/pieter/rsscomments.aspx?PostID=1202785</wfw:commentRss><wfw:comment>http://dotnet.org.za/pieter/commentapi.aspx?PostID=1202785</wfw:comment><comments>http://dotnet.org.za/pieter/archive/2009/09/20/things-i-learned-last-week-3.aspx#comments</comments><description>&lt;p&gt;Well actually more like things I learned the last three months as my last ‘&lt;a href="http://dotnet.org.za/pieter/archive/2009/06/23/things-i-learned-last-week-2.aspx" target="_blank"&gt;Things I learned last week #2&lt;/a&gt;’ was on 24th of June.&lt;/p&gt;  &lt;p&gt;Things are crazy busy in my life at the moment.&amp;#160; With work going flat out and with study coming to an end in less than 4 weeks, I have no time for blogging.&amp;#160; But I had a few minutes and thought I’d post a quick update.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="https://sourceforge.net/projects/nunit/files/" target="_blank"&gt;NUnit 2.5.1 and 2.5.2 was released&lt;/a&gt;.&lt;/li&gt;    &lt;li&gt;Deborah Korata is once again teaching me things I wasn’t aware of.&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;&lt;a href="http://msmvps.com/blogs/deborahk/archive/2009/07/14/dates-binding-to-month-names.aspx" target="_blank"&gt;Binding to Month Names&lt;/a&gt;&lt;/li&gt;      &lt;li&gt;&lt;a href="http://msmvps.com/blogs/deborahk/archive/2009/09/04/enumerable-repeat.aspx" target="_blank"&gt;Enumerable.Repeat&lt;/a&gt;&lt;/li&gt;      &lt;li&gt;&lt;a href="http://msmvps.com/blogs/deborahk/archive/2009/09/04/enumerable-range.aspx" target="_blank"&gt;Enumerable.Range&lt;/a&gt;&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;&lt;a href="http://research.microsoft.com/en-us/projects/pex/downloads.aspx" target="_blank"&gt;Pex&lt;/a&gt; is just getting better and better version &lt;a href="http://blog.dotnetwiki.org/2009/07/15/PexV015407141BetterPerformanceLessBugs.aspx" target="_blank"&gt;0.15&lt;/a&gt; and &lt;a href="http://blog.dotnetwiki.org/2009/09/16/Pex016409155MolesALightweightDetourFrameworkAndBetterSupportForTestFrameworks.aspx" target="_blank"&gt;0.16&lt;/a&gt; released.&lt;/li&gt;    &lt;li&gt;&lt;a href="http://jquery.com/" target="_blank"&gt;jQuery&lt;/a&gt; rocks, period!&lt;/li&gt;    &lt;li&gt;Use &lt;a href="http://www.nichesoftware.co.nz/blog/200907/exception-inspection" target="_blank"&gt;$exception&lt;/a&gt; to watch an exception thrown in VS.NET.&lt;/li&gt;    &lt;li&gt;&lt;a href="http://wikiplex.codeplex.com" target="_blank"&gt;Wikiplex&lt;/a&gt; the source for the &lt;a href="http://www.codeplex.com" target="_blank"&gt;Codeplex&lt;/a&gt; wiki engine is released.&lt;/li&gt;    &lt;li&gt;&lt;a href="http://dotnet.org.za/rohland/archive/2009/07/23/test-mail-send-routine-without-mail-server.aspx" target="_blank"&gt;Test mail send routines without using a mail server&lt;/a&gt; – a simple web.config trick.&lt;/li&gt;    &lt;li&gt;&lt;a href="http://geekswithblogs.net/aghausman/archive/2009/07/26/get-countries-name-in-.net.aspx" target="_blank"&gt;Get country names in .NET&lt;/a&gt;.&lt;/li&gt;    &lt;li&gt;Updated our sites to use the scripts from &lt;a title="http://www.ie6nomore.com/" href="http://www.ie6nomore.com/"&gt;http://www.ie6nomore.com/&lt;/a&gt;.&amp;#160; We now only support IE7+ and Firefox 3+, although most of our sites work in Safari and Chrome as well.&lt;/li&gt;    &lt;li&gt;I love/hate CSS.&lt;/li&gt;    &lt;li&gt;&lt;a href="http://csd.codeplex.com/" target="_blank"&gt;Configuration Section Designer&lt;/a&gt;.&lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.filehelpers.com/" target="_blank"&gt;FileHelpers&lt;/a&gt; rock!&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Now back to working on my paper.&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://dotnet.org.za/pieter/archive/2009/09/20/things-i-learned-last-week-3.aspx&amp;amp;;subject=Things+I+learned+last+week+%233" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/09/20/things-i-learned-last-week-3.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://dotnet.org.za/pieter/archive/2009/09/20/things-i-learned-last-week-3.aspx&amp;amp;;title=Things+I+learned+last+week+%233" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/09/20/things-i-learned-last-week-3.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://dotnet.org.za/pieter/archive/2009/09/20/things-i-learned-last-week-3.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/09/20/things-i-learned-last-week-3.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://dotnet.org.za/pieter/archive/2009/09/20/things-i-learned-last-week-3.aspx&amp;amp;title=Things+I+learned+last+week+%233" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/09/20/things-i-learned-last-week-3.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://dotnet.org.za/pieter/archive/2009/09/20/things-i-learned-last-week-3.aspx&amp;amp;;title=Things+I+learned+last+week+%233" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/09/20/things-i-learned-last-week-3.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://dotnet.org.za/pieter/archive/2009/09/20/things-i-learned-last-week-3.aspx&amp;amp;;title=Things+I+learned+last+week+%233&amp;amp;;top=1" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/09/20/things-i-learned-last-week-3.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnet.org.za/aggbug.aspx?PostID=1202785" width="1" height="1"&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aOvlpevP3ucVBCIYyVEzCdUfZYI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aOvlpevP3ucVBCIYyVEzCdUfZYI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aOvlpevP3ucVBCIYyVEzCdUfZYI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aOvlpevP3ucVBCIYyVEzCdUfZYI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/psh?a=pTGk2fc5crI:b38OKtogt-Q:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=pTGk2fc5crI:b38OKtogt-Q:D7DqB2pKExk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=pTGk2fc5crI:b38OKtogt-Q:D7DqB2pKExk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=pTGk2fc5crI:b38OKtogt-Q:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=pTGk2fc5crI:b38OKtogt-Q:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=pTGk2fc5crI:b38OKtogt-Q:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=pTGk2fc5crI:b38OKtogt-Q:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=pTGk2fc5crI:b38OKtogt-Q:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=pTGk2fc5crI:b38OKtogt-Q:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/psh/~4/pTGk2fc5crI" height="1" width="1"/&gt;</description><category domain="http://dotnet.org.za/pieter/archive/tags/Things+I+learned/default.aspx">Things I learned</category><feedburner:origLink>http://dotnet.org.za/pieter/archive/2009/09/20/things-i-learned-last-week-3.aspx</feedburner:origLink></item><item><title>Magic Numbers – How to remove them from your Codebase.</title><link>http://feedproxy.google.com/~r/psh/~3/JyD5xi5Giok/magic-numbers-how-to-remove-them-from-your-codebase.aspx</link><pubDate>Sun, 30 Aug 2009 00:09:24 GMT</pubDate><guid isPermaLink="false">2d3a9e08-b70c-4031-ba2b-8f5282a2a59a:1170827</guid><dc:creator>Pieter</dc:creator><slash:comments>4</slash:comments><wfw:commentRss>http://dotnet.org.za/pieter/rsscomments.aspx?PostID=1170827</wfw:commentRss><wfw:comment>http://dotnet.org.za/pieter/commentapi.aspx?PostID=1170827</wfw:comment><comments>http://dotnet.org.za/pieter/archive/2009/08/30/magic-numbers-how-to-remove-them-from-your-codebase.aspx#comments</comments><description>&lt;p&gt;I am not a fan &lt;a href="http://en.wikipedia.org/wiki/Magic_number_(programming)" target="_blank"&gt;Magic Numbers&lt;/a&gt; at all.&amp;#160; But most code bases I have seen and/or worked on have them too varying degrees.&amp;#160; Using simple &lt;a href="http://en.wikipedia.org/wiki/Object-oriented_programming" target="_blank"&gt;OO&lt;/a&gt; techniques can help you avoid them.&amp;#160; In this post I am going to discuss how to avoid Magic Numbers.&amp;#160; &lt;/p&gt;  &lt;p&gt;Let’s start by creating a simple class of say a Person.&lt;/p&gt;  &lt;pre class="brush: csharp;"&gt;public class Person
{
    public string FirstName { get; set; }
    public string LastName { get; set; }
    public char Status { get; set; }
}&lt;/pre&gt;

&lt;p&gt;Nothing special, just a firstname, lastname and status.&amp;#160; Let’s write a test to use it (Yea I know, should have written the test first!)&lt;/p&gt;

&lt;pre class="brush: csharp;"&gt;[TestMethod]
public void TestMethod1()
{
    Person p = new Person();
    p.Status = &amp;#39;C&amp;#39;;
    Assert.AreEqual(p.Status, &amp;#39;C&amp;#39;);
}&lt;/pre&gt;

&lt;p&gt;Ok, this works, but WTF does ‘C’ mean?&amp;#160; Closed? Created? (The test Name doesn’t help)&lt;/p&gt;

&lt;p&gt;Let’s make a change to the Test to make it clear:&lt;/p&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;pre class="brush: csharp;"&gt;[TestMethod]
public void Person_Status_Closed()
{
    Person p = new Person();
    p.Status = Person.Closed;
    Assert.AreEqual(p.Status, Person.Closed);
}&lt;/pre&gt;

&lt;p&gt;So we changed the ‘C’ to a constant called Closed, which we have added to the Person class. This is cool for now, when I read this code it is clear that the status I am assigning to the Person class is Closed. A funny status to pick when you have just created the object, so let’s say the default status for a person is Active. Let’s write a test for that first:&lt;/p&gt;

&lt;pre class="brush: csharp;"&gt;[TestMethod]
public void PersonStatus_Default_Active()
{
    Person p = new Person();
    Assert.AreEqual(p.Status, Person.Active);
}&lt;/pre&gt;

&lt;p&gt;And let’s update the person class:&lt;/p&gt;

&lt;pre class="brush: csharp;"&gt;public class Person
{
    public const char Active = &amp;#39;A&amp;#39;;
    public const char Closed = &amp;#39;C&amp;#39;;

    public string FirstName { get; set; }
    public string LastName { get; set; }
    public char Status { get; set; }

    public Person()
    {
        Status = Active;
    }
}&lt;/pre&gt;

&lt;p&gt;All going pretty well so far.&amp;#160; But this does not stop us from using Magic Numbers, i.e. I can still check for ‘A’ or ‘C’ or I can assign any char value I like to status.&amp;#160; This is especially likely to happen when you are working on a large codebase and an inexperienced developer has to make a change in code and their first response is to use ‘A’ instead of Person.Active.&amp;#160; Sure this should be picked up during code reviews, but why not make it impossible to do this in the first place?&amp;#160; How?&amp;#160; Very easily, replace the Person.Status with a Status class.&lt;/p&gt;

&lt;p&gt;Let’s create the test first:&lt;/p&gt;

&lt;pre class="brush: csharp;"&gt;[TestMethod]
public void PersonStatus_Default_Active()
{
    Person p = new Person();
    Assert.AreEqual(p.Status, PersonStatus.Active);
}&lt;/pre&gt;

&lt;p&gt;A simple change, can you spot it?&lt;/p&gt;

&lt;p&gt;Let’s have a look at the implementation:&lt;/p&gt;

&lt;pre class="brush: csharp;"&gt;public class Person
{
    public string FirstName { get; set; }
    public string LastName { get; set; }
    public PersonStatus Status { get; set; }

    public Person()
    {
        Status = PersonStatus.Active;
    }
}
public class PersonStatus
{
    public static PersonStatus Active = new PersonStatus(&amp;#39;A&amp;#39;, &amp;quot;Active&amp;quot;);
    public static PersonStatus Closed = new PersonStatus(&amp;#39;C&amp;#39;, &amp;quot;Closed&amp;quot;);

    public char Code { get; set; }
    public string Description { get; set; }

    public PersonStatus(char code, string description)
    {
        Code = code;
        Description = description;
    }
}&lt;/pre&gt;

&lt;p&gt;A huge improvement, you now have to use a PersonStatus object to indicate the status of Person.&amp;#160; But you can still create your own version PersonStatus, i.e. you can set status = new PersonStatus(‘X’, ‘Invalid Status’) and it will work.&amp;#160; Let’s add some validation.&amp;#160; &lt;/p&gt;

&lt;p&gt;Test first:&lt;/p&gt;

&lt;pre class="brush: csharp;"&gt;[TestMethod]
[ExpectedException(typeof(InvalidStatusException))]
public void PersonStatus_InvalidStatus_ExpectException()
{
    Person p = new Person();
    p.Status = new PersonStatus(&amp;#39;X&amp;#39;, &amp;quot;Invalid Status&amp;quot;);
    Assert.Fail(&amp;quot;Expected an InvalidStatusException&amp;quot;);
}&lt;/pre&gt;

&lt;p&gt;And the Implementation:&lt;/p&gt;

&lt;pre class="brush: csharp;"&gt;public class Person
{
    public string FirstName { get; set; }
    public string LastName { get; set; }

    private PersonStatus _status = PersonStatus.Active;
    public PersonStatus Status 
    {
        get
        {
            return _status;
        }
        set
        {
            if (!PersonStatus.IsValid(value))
                throw new InvalidStatusException(string.Format(&amp;quot;&amp;#39;{0}&amp;#39; - {1} is an invalid status&amp;quot;, value.Code, value.Description));
            _status = value;
        }
    }
}
public class PersonStatus
{
    public static PersonStatus Active = new PersonStatus(&amp;#39;A&amp;#39;, &amp;quot;Active&amp;quot;);
    public static PersonStatus Closed = new PersonStatus(&amp;#39;C&amp;#39;, &amp;quot;Closed&amp;quot;);

    private static IList&amp;lt;PersonStatus&amp;gt; _validStatusList = new List&amp;lt;PersonStatus&amp;gt;();

    public char Code { get; set; }
    public string Description { get; set; }

    static PersonStatus()
    {
        _validStatusList.Add(Active);
        _validStatusList.Add(Closed);
    }

    public static bool IsValid(PersonStatus status)
    {
        return _validStatusList.Contains(status);
    }

    public PersonStatus(char code, string description)
    {
        Code = code;
        Description = description;
    }
}
[Serializable]
public class InvalidStatusException : Exception
{
    public InvalidStatusException() { }
    public InvalidStatusException(string message) : base(message) { }
    public InvalidStatusException(string message, Exception inner) : base(message, inner) { }
    protected InvalidStatusException(SerializationInfo info, StreamingContext context)
        : base(info, context) { }
}&lt;/pre&gt;
In my next post I will show how you can use this same technique with an ORM tool.


&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://dotnet.org.za/pieter/archive/2009/08/30/magic-numbers-how-to-remove-them-from-your-codebase.aspx&amp;amp;;subject=Magic+Numbers+%e2%80%93+How+to+remove+them+from+your+Codebase." target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/30/magic-numbers-how-to-remove-them-from-your-codebase.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://dotnet.org.za/pieter/archive/2009/08/30/magic-numbers-how-to-remove-them-from-your-codebase.aspx&amp;amp;;title=Magic+Numbers+%e2%80%93+How+to+remove+them+from+your+Codebase." target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/30/magic-numbers-how-to-remove-them-from-your-codebase.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://dotnet.org.za/pieter/archive/2009/08/30/magic-numbers-how-to-remove-them-from-your-codebase.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/30/magic-numbers-how-to-remove-them-from-your-codebase.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://dotnet.org.za/pieter/archive/2009/08/30/magic-numbers-how-to-remove-them-from-your-codebase.aspx&amp;amp;title=Magic+Numbers+%e2%80%93+How+to+remove+them+from+your+Codebase." target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/30/magic-numbers-how-to-remove-them-from-your-codebase.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://dotnet.org.za/pieter/archive/2009/08/30/magic-numbers-how-to-remove-them-from-your-codebase.aspx&amp;amp;;title=Magic+Numbers+%e2%80%93+How+to+remove+them+from+your+Codebase." target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/30/magic-numbers-how-to-remove-them-from-your-codebase.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://dotnet.org.za/pieter/archive/2009/08/30/magic-numbers-how-to-remove-them-from-your-codebase.aspx&amp;amp;;title=Magic+Numbers+%e2%80%93+How+to+remove+them+from+your+Codebase.&amp;amp;;top=1" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/30/magic-numbers-how-to-remove-them-from-your-codebase.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnet.org.za/aggbug.aspx?PostID=1170827" width="1" height="1"&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wTXA8hL281k0SYfhrFtyAZtIuZc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wTXA8hL281k0SYfhrFtyAZtIuZc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wTXA8hL281k0SYfhrFtyAZtIuZc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wTXA8hL281k0SYfhrFtyAZtIuZc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/psh?a=JyD5xi5Giok:H-SsKlCU5zc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=JyD5xi5Giok:H-SsKlCU5zc:D7DqB2pKExk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=JyD5xi5Giok:H-SsKlCU5zc:D7DqB2pKExk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=JyD5xi5Giok:H-SsKlCU5zc:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=JyD5xi5Giok:H-SsKlCU5zc:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=JyD5xi5Giok:H-SsKlCU5zc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=JyD5xi5Giok:H-SsKlCU5zc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=JyD5xi5Giok:H-SsKlCU5zc:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=JyD5xi5Giok:H-SsKlCU5zc:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/psh/~4/JyD5xi5Giok" height="1" width="1"/&gt;</description><category domain="http://dotnet.org.za/pieter/archive/tags/TDD/default.aspx">TDD</category><category domain="http://dotnet.org.za/pieter/archive/tags/OO/default.aspx">OO</category><feedburner:origLink>http://dotnet.org.za/pieter/archive/2009/08/30/magic-numbers-how-to-remove-them-from-your-codebase.aspx</feedburner:origLink></item><item><title>Icon/Cursor Paint.NET Plug-In</title><link>http://feedproxy.google.com/~r/psh/~3/7OpL-UvEKLs/icon-cursor-paint-net-plug-in.aspx</link><pubDate>Fri, 28 Aug 2009 11:16:54 GMT</pubDate><guid isPermaLink="false">2d3a9e08-b70c-4031-ba2b-8f5282a2a59a:1169583</guid><dc:creator>Pieter</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://dotnet.org.za/pieter/rsscomments.aspx?PostID=1169583</wfw:commentRss><wfw:comment>http://dotnet.org.za/pieter/commentapi.aspx?PostID=1169583</wfw:comment><comments>http://dotnet.org.za/pieter/archive/2009/08/28/icon-cursor-paint-net-plug-in.aspx#comments</comments><description>&lt;p&gt;I’ve just learned that my #1 image editor (&lt;a href="http://www.getpaint.net/" target="_blank"&gt;Paint.NET&lt;/a&gt;) has a Plug-in that allows you to edit Icons and Cursors – Fantastic!&lt;/p&gt;  &lt;p&gt;Get it here: &lt;a title="http://www.evanolds.com/pdnicocur.html" href="http://www.evanolds.com/pdnicocur.html"&gt;http://www.evanolds.com/pdnicocur.html&lt;/a&gt;&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://dotnet.org.za/pieter/archive/2009/08/28/icon-cursor-paint-net-plug-in.aspx&amp;amp;;subject=Icon%2fCursor+Paint.NET+Plug-In" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/28/icon-cursor-paint-net-plug-in.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://dotnet.org.za/pieter/archive/2009/08/28/icon-cursor-paint-net-plug-in.aspx&amp;amp;;title=Icon%2fCursor+Paint.NET+Plug-In" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/28/icon-cursor-paint-net-plug-in.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://dotnet.org.za/pieter/archive/2009/08/28/icon-cursor-paint-net-plug-in.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/28/icon-cursor-paint-net-plug-in.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://dotnet.org.za/pieter/archive/2009/08/28/icon-cursor-paint-net-plug-in.aspx&amp;amp;title=Icon%2fCursor+Paint.NET+Plug-In" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/28/icon-cursor-paint-net-plug-in.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://dotnet.org.za/pieter/archive/2009/08/28/icon-cursor-paint-net-plug-in.aspx&amp;amp;;title=Icon%2fCursor+Paint.NET+Plug-In" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/28/icon-cursor-paint-net-plug-in.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://dotnet.org.za/pieter/archive/2009/08/28/icon-cursor-paint-net-plug-in.aspx&amp;amp;;title=Icon%2fCursor+Paint.NET+Plug-In&amp;amp;;top=1" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/28/icon-cursor-paint-net-plug-in.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnet.org.za/aggbug.aspx?PostID=1169583" width="1" height="1"&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JCQhBcudfR4Ct-o9GLf6_37jl3o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JCQhBcudfR4Ct-o9GLf6_37jl3o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JCQhBcudfR4Ct-o9GLf6_37jl3o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JCQhBcudfR4Ct-o9GLf6_37jl3o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/psh?a=7OpL-UvEKLs:qPqdQeMZ-ck:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=7OpL-UvEKLs:qPqdQeMZ-ck:D7DqB2pKExk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=7OpL-UvEKLs:qPqdQeMZ-ck:D7DqB2pKExk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=7OpL-UvEKLs:qPqdQeMZ-ck:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=7OpL-UvEKLs:qPqdQeMZ-ck:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=7OpL-UvEKLs:qPqdQeMZ-ck:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=7OpL-UvEKLs:qPqdQeMZ-ck:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=7OpL-UvEKLs:qPqdQeMZ-ck:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=7OpL-UvEKLs:qPqdQeMZ-ck:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/psh/~4/7OpL-UvEKLs" height="1" width="1"/&gt;</description><category domain="http://dotnet.org.za/pieter/archive/tags/Tools/default.aspx">Tools</category><feedburner:origLink>http://dotnet.org.za/pieter/archive/2009/08/28/icon-cursor-paint-net-plug-in.aspx</feedburner:origLink></item><item><title>Things I learned Today</title><link>http://feedproxy.google.com/~r/psh/~3/Q1yJROfC9XA/things-i-learned-today.aspx</link><pubDate>Thu, 13 Aug 2009 20:55:52 GMT</pubDate><guid isPermaLink="false">2d3a9e08-b70c-4031-ba2b-8f5282a2a59a:1154195</guid><dc:creator>Pieter</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://dotnet.org.za/pieter/rsscomments.aspx?PostID=1154195</wfw:commentRss><wfw:comment>http://dotnet.org.za/pieter/commentapi.aspx?PostID=1154195</wfw:comment><comments>http://dotnet.org.za/pieter/archive/2009/08/14/things-i-learned-today.aspx#comments</comments><description>&lt;p&gt;Well actually it was yesterday, but who cares…&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;I HATE COM!!!&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Yea I had to struggle yesterday with a VB6 application that calls out to a VB.NET app using COM.&amp;#160; The age old problem of ‘but it works on my machine’ and in this case the dev server and the deployment server.&amp;#160;&amp;#160; But for some freaking crazy reason it did not want to work on the Production server.&amp;#160; After tearing my hair our for several hours I decided to change the interface and now we are spawning a new process and passing a couple of parameters to a console app using command line parameters and that worked first time and every time since.&amp;#160;&amp;#160; Thank God there is more than one way to skin a cat.&amp;#160; It might not be pretty but it works, consistently. &lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://dotnet.org.za/pieter/archive/2009/08/14/things-i-learned-today.aspx&amp;amp;;subject=Things+I+learned+Today" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/14/things-i-learned-today.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://dotnet.org.za/pieter/archive/2009/08/14/things-i-learned-today.aspx&amp;amp;;title=Things+I+learned+Today" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/14/things-i-learned-today.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://dotnet.org.za/pieter/archive/2009/08/14/things-i-learned-today.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/14/things-i-learned-today.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://dotnet.org.za/pieter/archive/2009/08/14/things-i-learned-today.aspx&amp;amp;title=Things+I+learned+Today" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/14/things-i-learned-today.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://dotnet.org.za/pieter/archive/2009/08/14/things-i-learned-today.aspx&amp;amp;;title=Things+I+learned+Today" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/14/things-i-learned-today.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://dotnet.org.za/pieter/archive/2009/08/14/things-i-learned-today.aspx&amp;amp;;title=Things+I+learned+Today&amp;amp;;top=1" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/14/things-i-learned-today.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnet.org.za/aggbug.aspx?PostID=1154195" width="1" height="1"&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RRjqPfkSGAg-rjaSg-YmXvZVgpo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RRjqPfkSGAg-rjaSg-YmXvZVgpo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RRjqPfkSGAg-rjaSg-YmXvZVgpo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RRjqPfkSGAg-rjaSg-YmXvZVgpo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/psh?a=Q1yJROfC9XA:6En5pImZD2k:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=Q1yJROfC9XA:6En5pImZD2k:D7DqB2pKExk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=Q1yJROfC9XA:6En5pImZD2k:D7DqB2pKExk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=Q1yJROfC9XA:6En5pImZD2k:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=Q1yJROfC9XA:6En5pImZD2k:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=Q1yJROfC9XA:6En5pImZD2k:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=Q1yJROfC9XA:6En5pImZD2k:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=Q1yJROfC9XA:6En5pImZD2k:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=Q1yJROfC9XA:6En5pImZD2k:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/psh/~4/Q1yJROfC9XA" height="1" width="1"/&gt;</description><category domain="http://dotnet.org.za/pieter/archive/tags/Other+Stuff/default.aspx">Other Stuff</category><feedburner:origLink>http://dotnet.org.za/pieter/archive/2009/08/14/things-i-learned-today.aspx</feedburner:origLink></item><item><title>Another classic WTF</title><link>http://feedproxy.google.com/~r/psh/~3/tTq9RW_DBeA/another-classic-wtf.aspx</link><pubDate>Mon, 10 Aug 2009 01:39:07 GMT</pubDate><guid isPermaLink="false">2d3a9e08-b70c-4031-ba2b-8f5282a2a59a:1149555</guid><dc:creator>Pieter</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://dotnet.org.za/pieter/rsscomments.aspx?PostID=1149555</wfw:commentRss><wfw:comment>http://dotnet.org.za/pieter/commentapi.aspx?PostID=1149555</wfw:comment><comments>http://dotnet.org.za/pieter/archive/2009/08/10/another-classic-wtf.aspx#comments</comments><description>&lt;p&gt;I ran into this WTF a few minutes ago: &lt;/p&gt;  &lt;pre class="brush: csharp; auto-links: false; highlight: [7];"&gt;string valueFormat = &amp;quot;$#,##0.00&amp;quot;;

// Updating a label
lblDecimalValue.Text = decimalValue.ToString(valueFormat);

// Updating another label, notice anything strange?
lblSomeOtherLabel.Text = (accountBalance + decimal.Parse(lblDecimalValue.Text.Replace(&amp;quot;$&amp;quot;, string.Empty))).ToString(valueFormat);&lt;/pre&gt;

&lt;p&gt;What should have happened in Line 7?&lt;/p&gt;

&lt;pre class="brush: csharp; auto-links: false;"&gt;lblSomeOtherLabel.Text = (accountBalance + decimalValue).ToString(valueFormat);&lt;/pre&gt;

&lt;p&gt;Why?  Well that is pretty obvious, you already have decimalValue so why would you want to parse the string value to get a number you already have?&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://dotnet.org.za/pieter/archive/2009/08/10/another-classic-wtf.aspx&amp;amp;;subject=Another+classic+WTF" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/10/another-classic-wtf.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://dotnet.org.za/pieter/archive/2009/08/10/another-classic-wtf.aspx&amp;amp;;title=Another+classic+WTF" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/10/another-classic-wtf.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://dotnet.org.za/pieter/archive/2009/08/10/another-classic-wtf.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/10/another-classic-wtf.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://dotnet.org.za/pieter/archive/2009/08/10/another-classic-wtf.aspx&amp;amp;title=Another+classic+WTF" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/10/another-classic-wtf.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://dotnet.org.za/pieter/archive/2009/08/10/another-classic-wtf.aspx&amp;amp;;title=Another+classic+WTF" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/10/another-classic-wtf.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://dotnet.org.za/pieter/archive/2009/08/10/another-classic-wtf.aspx&amp;amp;;title=Another+classic+WTF&amp;amp;;top=1" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/08/10/another-classic-wtf.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnet.org.za/aggbug.aspx?PostID=1149555" width="1" height="1"&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/h1cgflzoUUnBYo5drrs6101hOLA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/h1cgflzoUUnBYo5drrs6101hOLA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/h1cgflzoUUnBYo5drrs6101hOLA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/h1cgflzoUUnBYo5drrs6101hOLA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/psh?a=tTq9RW_DBeA:vlCpb2mU6q8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=tTq9RW_DBeA:vlCpb2mU6q8:D7DqB2pKExk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=tTq9RW_DBeA:vlCpb2mU6q8:D7DqB2pKExk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=tTq9RW_DBeA:vlCpb2mU6q8:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=tTq9RW_DBeA:vlCpb2mU6q8:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=tTq9RW_DBeA:vlCpb2mU6q8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=tTq9RW_DBeA:vlCpb2mU6q8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=tTq9RW_DBeA:vlCpb2mU6q8:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=tTq9RW_DBeA:vlCpb2mU6q8:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/psh/~4/tTq9RW_DBeA" height="1" width="1"/&gt;</description><category domain="http://dotnet.org.za/pieter/archive/tags/WTF/default.aspx">WTF</category><feedburner:origLink>http://dotnet.org.za/pieter/archive/2009/08/10/another-classic-wtf.aspx</feedburner:origLink></item><item><title>How to format DateTime using ToString</title><link>http://feedproxy.google.com/~r/psh/~3/A-QsOqH2wlg/how-to-format-datetime-using-tostring.aspx</link><pubDate>Fri, 24 Jul 2009 01:52:00 GMT</pubDate><guid isPermaLink="false">2d3a9e08-b70c-4031-ba2b-8f5282a2a59a:1132669</guid><dc:creator>Pieter</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://dotnet.org.za/pieter/rsscomments.aspx?PostID=1132669</wfw:commentRss><wfw:comment>http://dotnet.org.za/pieter/commentapi.aspx?PostID=1132669</wfw:comment><comments>http://dotnet.org.za/pieter/archive/2009/07/24/how-to-format-datetime-using-tostring.aspx#comments</comments><description>&lt;p&gt;Another WTF:&lt;/p&gt;&lt;pre class="brush: csharp; auto-links: false;"&gt;// I saw this code today and went WTF!!!!
string oldway = DateTime.Now.Year + &amp;quot;-&amp;quot; +    
DateTime.Now.Month.ToString(&amp;quot;00&amp;quot;) + &amp;quot;-&amp;quot; + DateTime.Now.Day.ToString(&amp;quot;00&amp;quot;) +    
    &amp;quot;T&amp;quot; + DateTime.Now.Hour.ToString(&amp;quot;00&amp;quot;) + &amp;quot;:&amp;quot; + DateTime.Now.Minute.ToString(&amp;quot;00&amp;quot;) +    
    &amp;quot;:&amp;quot; + DateTime.Now.Second.ToString(&amp;quot;00&amp;quot;);

// I changed it to this
string newWay = DateTime.Now.ToString(&amp;quot;yyyy-MM-ddTHH:mm:ss&amp;quot;);

// And to prove it worked I placed it all in a test and checked that both returns the same result.
Assert.AreEqual(oldway, newWay);
&lt;/pre&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://dotnet.org.za/pieter/archive/2009/07/24/how-to-format-datetime-using-tostring.aspx&amp;amp;;subject=How+to+format+DateTime+using+ToString" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/24/how-to-format-datetime-using-tostring.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://dotnet.org.za/pieter/archive/2009/07/24/how-to-format-datetime-using-tostring.aspx&amp;amp;;title=How+to+format+DateTime+using+ToString" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/24/how-to-format-datetime-using-tostring.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://dotnet.org.za/pieter/archive/2009/07/24/how-to-format-datetime-using-tostring.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/24/how-to-format-datetime-using-tostring.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://dotnet.org.za/pieter/archive/2009/07/24/how-to-format-datetime-using-tostring.aspx&amp;amp;title=How+to+format+DateTime+using+ToString" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/24/how-to-format-datetime-using-tostring.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://dotnet.org.za/pieter/archive/2009/07/24/how-to-format-datetime-using-tostring.aspx&amp;amp;;title=How+to+format+DateTime+using+ToString" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/24/how-to-format-datetime-using-tostring.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://dotnet.org.za/pieter/archive/2009/07/24/how-to-format-datetime-using-tostring.aspx&amp;amp;;title=How+to+format+DateTime+using+ToString&amp;amp;;top=1" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/24/how-to-format-datetime-using-tostring.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnet.org.za/aggbug.aspx?PostID=1132669" width="1" height="1"&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/28r5ZFAuHRrc3GExO0x5Xv1t_38/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/28r5ZFAuHRrc3GExO0x5Xv1t_38/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/28r5ZFAuHRrc3GExO0x5Xv1t_38/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/28r5ZFAuHRrc3GExO0x5Xv1t_38/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/psh?a=A-QsOqH2wlg:RuK5pYnwObo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=A-QsOqH2wlg:RuK5pYnwObo:D7DqB2pKExk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=A-QsOqH2wlg:RuK5pYnwObo:D7DqB2pKExk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=A-QsOqH2wlg:RuK5pYnwObo:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=A-QsOqH2wlg:RuK5pYnwObo:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=A-QsOqH2wlg:RuK5pYnwObo:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=A-QsOqH2wlg:RuK5pYnwObo:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=A-QsOqH2wlg:RuK5pYnwObo:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=A-QsOqH2wlg:RuK5pYnwObo:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/psh/~4/A-QsOqH2wlg" height="1" width="1"/&gt;</description><category domain="http://dotnet.org.za/pieter/archive/tags/.Net/default.aspx">.Net</category><category domain="http://dotnet.org.za/pieter/archive/tags/WTF/default.aspx">WTF</category><feedburner:origLink>http://dotnet.org.za/pieter/archive/2009/07/24/how-to-format-datetime-using-tostring.aspx</feedburner:origLink></item><item><title>Use Null Coalescing Operator</title><link>http://feedproxy.google.com/~r/psh/~3/iATOMZ2T0eY/use-null-coalescing-operator.aspx</link><pubDate>Thu, 16 Jul 2009 23:30:00 GMT</pubDate><guid isPermaLink="false">2d3a9e08-b70c-4031-ba2b-8f5282a2a59a:1127290</guid><dc:creator>Pieter</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://dotnet.org.za/pieter/rsscomments.aspx?PostID=1127290</wfw:commentRss><wfw:comment>http://dotnet.org.za/pieter/commentapi.aspx?PostID=1127290</wfw:comment><comments>http://dotnet.org.za/pieter/archive/2009/07/17/use-null-coalescing-operator.aspx#comments</comments><description>&lt;pre class="brush: csharp; auto-links: false;"&gt;// WTF - Code
// Reads the DB twice if an Address is found
Address addressExisting = personExisting.ReadAddress(Database) == null ? new Address() : personExisting.ReadAddress(Database);

// What should you use?
// The Null Coalescing Operator
Address addressExisting = personExisting.ReadAddress(Database) ?? new Address();
&lt;/pre&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://dotnet.org.za/pieter/archive/2009/07/17/use-null-coalescing-operator.aspx&amp;amp;;subject=Use+Null+Coalescing+Operator" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/17/use-null-coalescing-operator.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://dotnet.org.za/pieter/archive/2009/07/17/use-null-coalescing-operator.aspx&amp;amp;;title=Use+Null+Coalescing+Operator" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/17/use-null-coalescing-operator.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://dotnet.org.za/pieter/archive/2009/07/17/use-null-coalescing-operator.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/17/use-null-coalescing-operator.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://dotnet.org.za/pieter/archive/2009/07/17/use-null-coalescing-operator.aspx&amp;amp;title=Use+Null+Coalescing+Operator" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/17/use-null-coalescing-operator.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://dotnet.org.za/pieter/archive/2009/07/17/use-null-coalescing-operator.aspx&amp;amp;;title=Use+Null+Coalescing+Operator" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/17/use-null-coalescing-operator.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://dotnet.org.za/pieter/archive/2009/07/17/use-null-coalescing-operator.aspx&amp;amp;;title=Use+Null+Coalescing+Operator&amp;amp;;top=1" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/17/use-null-coalescing-operator.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnet.org.za/aggbug.aspx?PostID=1127290" width="1" height="1"&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/v6BSo-dyhnOfsAq8jmRCw2q40v8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v6BSo-dyhnOfsAq8jmRCw2q40v8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/v6BSo-dyhnOfsAq8jmRCw2q40v8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v6BSo-dyhnOfsAq8jmRCw2q40v8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/psh?a=iATOMZ2T0eY:wb46Gmo7cZc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=iATOMZ2T0eY:wb46Gmo7cZc:D7DqB2pKExk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=iATOMZ2T0eY:wb46Gmo7cZc:D7DqB2pKExk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=iATOMZ2T0eY:wb46Gmo7cZc:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=iATOMZ2T0eY:wb46Gmo7cZc:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=iATOMZ2T0eY:wb46Gmo7cZc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=iATOMZ2T0eY:wb46Gmo7cZc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=iATOMZ2T0eY:wb46Gmo7cZc:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=iATOMZ2T0eY:wb46Gmo7cZc:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/psh/~4/iATOMZ2T0eY" height="1" width="1"/&gt;</description><category domain="http://dotnet.org.za/pieter/archive/tags/WTF/default.aspx">WTF</category><feedburner:origLink>http://dotnet.org.za/pieter/archive/2009/07/17/use-null-coalescing-operator.aspx</feedburner:origLink></item><item><title>You have found a bug – how to find out which process created a window.</title><link>http://feedproxy.google.com/~r/psh/~3/XIkVPWjrKTA/you-have-found-a-bug-how-to-find-out-which-process-created-a-window.aspx</link><pubDate>Mon, 13 Jul 2009 20:34:58 GMT</pubDate><guid isPermaLink="false">2d3a9e08-b70c-4031-ba2b-8f5282a2a59a:1123629</guid><dc:creator>Pieter</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://dotnet.org.za/pieter/rsscomments.aspx?PostID=1123629</wfw:commentRss><wfw:comment>http://dotnet.org.za/pieter/commentapi.aspx?PostID=1123629</wfw:comment><comments>http://dotnet.org.za/pieter/archive/2009/07/14/you-have-found-a-bug-how-to-find-out-which-process-created-a-window.aspx#comments</comments><description>&lt;p&gt;There was a bit of a panic today when this came up.&amp;#160; Some thought it was a virus, others thought it was someone playing a trick.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://dotnet.org.za/blogs/pieter/image_7CFE46FC.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="image" border="0" alt="image" src="http://dotnet.org.za/blogs/pieter/image_thumb_6A4BDDF6.png" width="502" height="402" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;So I opened up &lt;a href="http://msdn.microsoft.com/en-us/library/aa264396(VS.60).aspx" target="_blank"&gt;Spy++&lt;/a&gt;.&amp;#160; Found the Window.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://dotnet.org.za/blogs/pieter/image_42A7F27D.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="image" border="0" alt="image" src="http://dotnet.org.za/blogs/pieter/image_thumb_4A557C8E.png" width="665" height="408" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;When you right click and select properties.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://dotnet.org.za/blogs/pieter/image_09B5C0D0.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="image" border="0" alt="image" src="http://dotnet.org.za/blogs/pieter/image_thumb_06A362DB.png" width="240" height="134" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now select the Process tab and click on the Process ID link.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://dotnet.org.za/blogs/pieter/image_5AF5298F.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="image" border="0" alt="image" src="http://dotnet.org.za/blogs/pieter/image_thumb_512FC217.png" width="390" height="290" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;And then you can see which process this window came from:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://dotnet.org.za/blogs/pieter/image_0329F353.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="image" border="0" alt="image" src="http://dotnet.org.za/blogs/pieter/image_thumb_6645EFDF.png" width="390" height="290" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;As you can see in this case it was &lt;a href="http://www.svnmonitor.com/" target="_blank"&gt;SVN-Monitor&lt;/a&gt;.&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://dotnet.org.za/pieter/archive/2009/07/14/you-have-found-a-bug-how-to-find-out-which-process-created-a-window.aspx&amp;amp;;subject=You+have+found+a+bug+%e2%80%93+how+to+find+out+which+process+created+a+window." target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/14/you-have-found-a-bug-how-to-find-out-which-process-created-a-window.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://dotnet.org.za/pieter/archive/2009/07/14/you-have-found-a-bug-how-to-find-out-which-process-created-a-window.aspx&amp;amp;;title=You+have+found+a+bug+%e2%80%93+how+to+find+out+which+process+created+a+window." target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/14/you-have-found-a-bug-how-to-find-out-which-process-created-a-window.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://dotnet.org.za/pieter/archive/2009/07/14/you-have-found-a-bug-how-to-find-out-which-process-created-a-window.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/14/you-have-found-a-bug-how-to-find-out-which-process-created-a-window.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://dotnet.org.za/pieter/archive/2009/07/14/you-have-found-a-bug-how-to-find-out-which-process-created-a-window.aspx&amp;amp;title=You+have+found+a+bug+%e2%80%93+how+to+find+out+which+process+created+a+window." target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/14/you-have-found-a-bug-how-to-find-out-which-process-created-a-window.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://dotnet.org.za/pieter/archive/2009/07/14/you-have-found-a-bug-how-to-find-out-which-process-created-a-window.aspx&amp;amp;;title=You+have+found+a+bug+%e2%80%93+how+to+find+out+which+process+created+a+window." target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/14/you-have-found-a-bug-how-to-find-out-which-process-created-a-window.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://dotnet.org.za/pieter/archive/2009/07/14/you-have-found-a-bug-how-to-find-out-which-process-created-a-window.aspx&amp;amp;;title=You+have+found+a+bug+%e2%80%93+how+to+find+out+which+process+created+a+window.&amp;amp;;top=1" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/07/14/you-have-found-a-bug-how-to-find-out-which-process-created-a-window.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnet.org.za/aggbug.aspx?PostID=1123629" width="1" height="1"&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/98keueJ8_OygVSYJW77QF-UUF8E/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/98keueJ8_OygVSYJW77QF-UUF8E/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/98keueJ8_OygVSYJW77QF-UUF8E/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/98keueJ8_OygVSYJW77QF-UUF8E/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/psh?a=XIkVPWjrKTA:acF_wltzJfU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=XIkVPWjrKTA:acF_wltzJfU:D7DqB2pKExk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=XIkVPWjrKTA:acF_wltzJfU:D7DqB2pKExk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=XIkVPWjrKTA:acF_wltzJfU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=XIkVPWjrKTA:acF_wltzJfU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=XIkVPWjrKTA:acF_wltzJfU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=XIkVPWjrKTA:acF_wltzJfU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=XIkVPWjrKTA:acF_wltzJfU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=XIkVPWjrKTA:acF_wltzJfU:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/psh/~4/XIkVPWjrKTA" height="1" width="1"/&gt;</description><category domain="http://dotnet.org.za/pieter/archive/tags/VS/default.aspx">VS</category><feedburner:origLink>http://dotnet.org.za/pieter/archive/2009/07/14/you-have-found-a-bug-how-to-find-out-which-process-created-a-window.aspx</feedburner:origLink></item><item><title>Things I learned last week #2</title><link>http://feedproxy.google.com/~r/psh/~3/x3GSlEQEuWs/things-i-learned-last-week-2.aspx</link><pubDate>Tue, 23 Jun 2009 04:11:30 GMT</pubDate><guid isPermaLink="false">2d3a9e08-b70c-4031-ba2b-8f5282a2a59a:1089047</guid><dc:creator>Pieter</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://dotnet.org.za/pieter/rsscomments.aspx?PostID=1089047</wfw:commentRss><wfw:comment>http://dotnet.org.za/pieter/commentapi.aspx?PostID=1089047</wfw:comment><comments>http://dotnet.org.za/pieter/archive/2009/06/23/things-i-learned-last-week-2.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://dotnet.org.za/pieter/archive/2009/06/15/things-i-learned-last-week.aspx" target="_blank"&gt;Last week&lt;/a&gt; I started a session at work during our Monday morning development meeting called Things I learned last week.&amp;#160; Here is episode #2.&lt;/p&gt;  &lt;p&gt;It was a bit of a dry week in terms of what I learned, but there was a few things worth mentioning.&lt;/p&gt;  &lt;p&gt;I learned:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;to love &lt;a href="http://research.microsoft.com/en-us/projects/contracts/" target="_blank"&gt;Code Contracts&lt;/a&gt;.&amp;#160; I knew that &lt;a href="http://james.newtonking.com/" target="_blank"&gt;James&lt;/a&gt; from &lt;a href="http://www.intergen.co.nz" target="_blank"&gt;Intergen&lt;/a&gt; had done a mentoring session at Intergen and had done the same presentation at &lt;a href="http://www.codecamp.net.nz/" target="_blank"&gt;Code Camp 2009&lt;/a&gt; as I looked at his &lt;a href="http://james.newtonking.com/downloads/codecamp2009/codecontracts.pptx" target="_blank"&gt;presentation&lt;/a&gt; he put up on his &lt;a href="http://james.newtonking.com/" target="_blank"&gt;blog&lt;/a&gt;.&amp;#160; I have read up on Code Contract before then but then quickly forgot about it.&amp;#160; Having a second look and actually RTFM I have to admit that I like it.&amp;#160; So much actually that we have started using it in out new codebase that will only see the light after .NET 4.0 and VS2010 is released and as such this will provide us with some future proving as we don’t then have to pull out all our custom old school pre-condition checking.&amp;#160; Code Contracts also add so much more, for example you can create Code Contracts for Interfaces, post-conditions and Invariants, fantastic stuff.&amp;#160; But as always, use wisely, don’t go and implement everything the static analysis tells you to implement. ;)&lt;/li&gt;    &lt;li&gt;how to use &lt;a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter" target="_blank"&gt;SyntaxHighlighter&lt;/a&gt; and love &lt;a href="http://www.codeplex.com/precode" target="_blank"&gt;PreCode&lt;/a&gt; the &lt;a href="http://windowslivewriter.spaces.live.com/" target="_blank"&gt;Windows Live Writer&lt;/a&gt; add-in.&lt;/li&gt;    &lt;li&gt;about &lt;a href="http://blogs.msdn.com/webdevtools/archive/2009/05/04/web-deployment-web-config-transformation.aspx" target="_blank"&gt;Web.Config Transformation&lt;/a&gt; coming in VS2010.&amp;#160; Finally I can get rid of all the complex homebrew .config handling between all the environments.&lt;/li&gt; &lt;/ul&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://dotnet.org.za/pieter/archive/2009/06/23/things-i-learned-last-week-2.aspx&amp;amp;;subject=Things+I+learned+last+week+%232" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/06/23/things-i-learned-last-week-2.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://dotnet.org.za/pieter/archive/2009/06/23/things-i-learned-last-week-2.aspx&amp;amp;;title=Things+I+learned+last+week+%232" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/06/23/things-i-learned-last-week-2.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://dotnet.org.za/pieter/archive/2009/06/23/things-i-learned-last-week-2.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/06/23/things-i-learned-last-week-2.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://dotnet.org.za/pieter/archive/2009/06/23/things-i-learned-last-week-2.aspx&amp;amp;title=Things+I+learned+last+week+%232" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/06/23/things-i-learned-last-week-2.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://dotnet.org.za/pieter/archive/2009/06/23/things-i-learned-last-week-2.aspx&amp;amp;;title=Things+I+learned+last+week+%232" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/06/23/things-i-learned-last-week-2.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://dotnet.org.za/pieter/archive/2009/06/23/things-i-learned-last-week-2.aspx&amp;amp;;title=Things+I+learned+last+week+%232&amp;amp;;top=1" target="_blank" title = "Post http://dotnet.org.za/pieter/archive/2009/06/23/things-i-learned-last-week-2.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://dotnet.org.za/aggbug.aspx?PostID=1089047" width="1" height="1"&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Uo4EB9LgHkSHOzwhtfsNt0FldJo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Uo4EB9LgHkSHOzwhtfsNt0FldJo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Uo4EB9LgHkSHOzwhtfsNt0FldJo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Uo4EB9LgHkSHOzwhtfsNt0FldJo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/psh?a=x3GSlEQEuWs:J_2vbtIS-bI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=x3GSlEQEuWs:J_2vbtIS-bI:D7DqB2pKExk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=x3GSlEQEuWs:J_2vbtIS-bI:D7DqB2pKExk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=x3GSlEQEuWs:J_2vbtIS-bI:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=x3GSlEQEuWs:J_2vbtIS-bI:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=x3GSlEQEuWs:J_2vbtIS-bI:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?i=x3GSlEQEuWs:J_2vbtIS-bI:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=x3GSlEQEuWs:J_2vbtIS-bI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/psh?a=x3GSlEQEuWs:J_2vbtIS-bI:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/psh?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/psh/~4/x3GSlEQEuWs" height="1" width="1"/&gt;</description><category domain="http://dotnet.org.za/pieter/archive/tags/Things+I+learned/default.aspx">Things I learned</category><feedburner:origLink>http://dotnet.org.za/pieter/archive/2009/06/23/things-i-learned-last-week-2.aspx</feedburner:origLink></item></channel></rss>
