<?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:blogChannel="http://backend.userland.com/blogChannelModule" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Riaan Lehmkuhl's Blog</title>
    <description>Subversion, Progamming, Tips &amp; Tricks and whatever else springs to mind.</description>
    <link>http://www.lehmkuhl.za.net/blog/</link>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>BlogEngine.NET 1.4.0.23</generator>
<language>en-ZA</language><blogChannel:blogRoll>http://www.lehmkuhl.za.net/blog/opml.axd</blogChannel:blogRoll><blogChannel:blink>http://www.dotnetblogengine.net/syndication.axd</blogChannel:blink><dc:creator>Riaan Lehmkuhl</dc:creator><dc:title>Riaan Lehmkuhl's Blog</dc:title><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/RiaanLehmkuhl" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>Get DOS 8.3 short name with VbScript</title><description>Create a new text file called shortname.vbs
Open in notepad and paste the following code in it:
&lt;pre&gt;
set fso = CreateObject(&amp;quot;Scripting.FileSystemObject&amp;quot;) 
strLongName = Wscript.Arguments(0)
strShortName = &amp;quot;Invalid File/Folder - (&amp;quot; &amp;amp; strLongName &amp;amp; &amp;quot;)&amp;quot;
Set fsoFile = Nothing
On Error Resume Next
Set fsoFile = fso.GetFile(strLongName)
if Err.number &amp;lt;&amp;gt; 0 then
Set fsoFile = fso.GetFolder(strLongName)
end if
if fsoFile is not nothing then
strShortName = fsoFile.ShortPath
end if
Wscript.Echo strShortName
&lt;/pre&gt;
Run the script using cscript:
&lt;pre&gt;
cscript shortname.vbs &amp;quot;C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe&amp;quot;
&lt;/pre&gt;
You will then get the following output:
&lt;pre&gt;
C:\PROGRA~1\Adobe\READER~1.0\Reader\AcroRd32.exe
&lt;/pre&gt;
</description><link>http://www.lehmkuhl.za.net/blog/post/2009/11/04/Get-DOS-83-short-name-with-VbScript.aspx</link><author>riaanl.nospam@nospam.gmail.com (Riaan)</author><comments>http://www.lehmkuhl.za.net/blog/post/2009/11/04/Get-DOS-83-short-name-with-VbScript.aspx#comment</comments><guid>http://www.lehmkuhl.za.net/blog/post.aspx?id=75790083-fcac-4511-8e54-f4e9ede87ca3</guid><pubDate>Wed, 04 Nov 2009 10:26:00 +0200</pubDate><category>Tips &amp; Tricks</category><dc:publisher>Riaan</dc:publisher><pingback:server>http://www.lehmkuhl.za.net/blog/pingback.axd</pingback:server><pingback:target>http://www.lehmkuhl.za.net/blog/post.aspx?id=75790083-fcac-4511-8e54-f4e9ede87ca3</pingback:target><slash:comments>0</slash:comments><trackback:ping>http://www.lehmkuhl.za.net/blog/trackback.axd?id=75790083-fcac-4511-8e54-f4e9ede87ca3</trackback:ping><wfw:comment>http://www.lehmkuhl.za.net/blog/post/2009/11/04/Get-DOS-83-short-name-with-VbScript.aspx#comment</wfw:comment><wfw:commentRss>http://www.lehmkuhl.za.net/blog/syndication.axd?post=75790083-fcac-4511-8e54-f4e9ede87ca3</wfw:commentRss></item><item><title>Windows.Forms Binding errors with .Net 2.0 (Part 4)</title><description>&lt;p&gt;
The problem:&lt;br /&gt;
In a DataGridView, after adding a new row, and clicking away, the new row disappears.
&lt;/p&gt;
&lt;p&gt;
The solution:&lt;br /&gt;
This is most likely caused by an error being raised due to a data input error. Im my case it was because of a non visible column not allowing nulls.&lt;br /&gt;
put a break point in the &amp;quot;DataError&amp;quot; event handler. Even though the error might be written to the row&amp;#39;s ErrorText, it is never displayed because the row disappears.
&lt;/p&gt;
</description><link>http://www.lehmkuhl.za.net/blog/post/2009/02/23/WindowsForms-Binding-errors-with-Net-20-(Part-4).aspx</link><author>riaanl.nospam@nospam.gmail.com (Riaan)</author><comments>http://www.lehmkuhl.za.net/blog/post/2009/02/23/WindowsForms-Binding-errors-with-Net-20-(Part-4).aspx#comment</comments><guid>http://www.lehmkuhl.za.net/blog/post.aspx?id=6a2307b6-fa96-45cd-9c74-574d8d88d254</guid><pubDate>Mon, 23 Feb 2009 20:53:00 +0200</pubDate><category>Tips &amp; Tricks</category><dc:publisher>Riaan</dc:publisher><pingback:server>http://www.lehmkuhl.za.net/blog/pingback.axd</pingback:server><pingback:target>http://www.lehmkuhl.za.net/blog/post.aspx?id=6a2307b6-fa96-45cd-9c74-574d8d88d254</pingback:target><slash:comments>1</slash:comments><trackback:ping>http://www.lehmkuhl.za.net/blog/trackback.axd?id=6a2307b6-fa96-45cd-9c74-574d8d88d254</trackback:ping><wfw:comment>http://www.lehmkuhl.za.net/blog/post/2009/02/23/WindowsForms-Binding-errors-with-Net-20-(Part-4).aspx#comment</wfw:comment><wfw:commentRss>http://www.lehmkuhl.za.net/blog/syndication.axd?post=6a2307b6-fa96-45cd-9c74-574d8d88d254</wfw:commentRss></item><item><title>MSTSC /console not working anymore</title><description>When using the &amp;quot;Virtual Server Administration Website&amp;quot; to admin your Virtual Server 2005 R2 virtual servers one needs to be logged on to the console of the host server or you get a &lt;code&gt;HTTP 500 Internal Server Error&lt;/code&gt; message. For this reason I&amp;#39;ve always used the &lt;code&gt;mstsc /console&lt;/code&gt; command to log in to session 0 of the host server, but to my dismay this just didn&amp;#39;t seem to work anymore.&lt;br /&gt;
I opened the command prompt and typed in &lt;code&gt;mstsc /?&lt;/code&gt;. Lo and behold, the console option is gone:
&lt;pre&gt;
---------------------------
Remote Desktop Connection Usage
---------------------------
MSTSC [] [/v:] [/admin] [/f[ullscreen]]
[/w: /h:] [/public] | [/span] [/edit &amp;quot;connection file&amp;quot;] [/migrate]
&amp;quot;connection file&amp;quot; -- Specifies the name of an .rdp file for the connection.
/v: -- Specifies the remote computer to which you want to connect.
/admin -- Connects you to the session for administering a server.
/f -- Starts Remote Desktop in full-screen mode.
/w: -- Specifies the width of the Remote Desktop window.
/h: -- Specifies the height of the Remote Desktop window.
/public -- Runs Remote Desktop in public mode.
/span -- Matches the remote desktop width and height with the local
virtual desktop, spanning across multiple monitors if necessary. To span
across monitors, the monitors must all have the same height and be aligned
vertically.
/edit -- Opens the specified .rdp connection file for editing.
/migrate -- Migrates legacy connection files that were created with
Client Connection Manager to new .rdp connection files.
---------------------------
OK   
---------------------------
&lt;/pre&gt;
I noticed the &lt;code&gt;/admin&lt;/code&gt; switch, which seemed to do the trick.&lt;br /&gt;
After some more research I&amp;#39;ve found that this was apllied with XP SP3 and supposed to be because of some new &lt;a href="http://blogs.technet.com/askperf/archive/2007/04/27/application-compatibility-session-0-isolation.aspx"&gt;security features&lt;/a&gt; in Windows Server 2008 and Vista SP1. Due to this fact this trick won&amp;#39;t work on these.
</description><link>http://www.lehmkuhl.za.net/blog/post/2008/08/19/MSTSC-console-not-working-anymore.aspx</link><author>riaanl.nospam@nospam.gmail.com (Riaan)</author><comments>http://www.lehmkuhl.za.net/blog/post/2008/08/19/MSTSC-console-not-working-anymore.aspx#comment</comments><guid>http://www.lehmkuhl.za.net/blog/post.aspx?id=e820fd69-f1d8-40b0-a315-2d4e6e3aeba5</guid><pubDate>Tue, 19 Aug 2008 21:13:00 +0200</pubDate><category>Tips &amp; Tricks</category><dc:publisher>Riaan</dc:publisher><pingback:server>http://www.lehmkuhl.za.net/blog/pingback.axd</pingback:server><pingback:target>http://www.lehmkuhl.za.net/blog/post.aspx?id=e820fd69-f1d8-40b0-a315-2d4e6e3aeba5</pingback:target><slash:comments>3</slash:comments><trackback:ping>http://www.lehmkuhl.za.net/blog/trackback.axd?id=e820fd69-f1d8-40b0-a315-2d4e6e3aeba5</trackback:ping><wfw:comment>http://www.lehmkuhl.za.net/blog/post/2008/08/19/MSTSC-console-not-working-anymore.aspx#comment</wfw:comment><wfw:commentRss>http://www.lehmkuhl.za.net/blog/syndication.axd?post=e820fd69-f1d8-40b0-a315-2d4e6e3aeba5</wfw:commentRss></item><item><title>RE: Updated SyntaxHighlighter Extension for BlogEngine.NET</title><description>&lt;p&gt;
There seems to be a conflict between the &lt;a rel="nofollow" href="http://code.google.com/p/syntaxhighlighter/" target="_blank" title="Free syntax highlighter written in Java Script"&gt;SyntaxHighlighter&lt;/a&gt; javascript and the BlogEngine.NET Widget Zone administration drag-and-drop javascript. When the &lt;a href="http://www.lehmkuhl.za.net/blog/post/2008/07/27/Updated-SyntaxHighlighter-Extension-for-BlogEngineNET.aspx" title="Updated SyntaxHighlighter Extension for BlogEngine.NET - 27 Jul 2008"&gt;SyntaxHighlighter Extension&lt;/a&gt; is enabled, the drag-and-drop in the Widget Zone does not work although there doesn&amp;#39;t seem to be any javascript errors.
&lt;/p&gt;
&lt;p&gt;
Luckily we don&amp;#39;t need to rearrange the widget zone that often. So when you need to do that just disable the SyntaxHighlighter Extension temporarily, rearrange your widgets and enable the SyntaxHighlighter Extension again.
&lt;/p&gt;
</description><link>http://www.lehmkuhl.za.net/blog/post/2008/08/04/RE-Updated-SyntaxHighlighter-Extension-for-BlogEngineNET.aspx</link><author>riaanl.nospam@nospam.gmail.com (Riaan)</author><comments>http://www.lehmkuhl.za.net/blog/post/2008/08/04/RE-Updated-SyntaxHighlighter-Extension-for-BlogEngineNET.aspx#comment</comments><guid>http://www.lehmkuhl.za.net/blog/post.aspx?id=cfc76781-a95f-4a82-a968-4e9f4b7aab3b</guid><pubDate>Mon, 04 Aug 2008 23:59:00 +0200</pubDate><category>BlogEngine.NET</category><dc:publisher>Riaan</dc:publisher><pingback:server>http://www.lehmkuhl.za.net/blog/pingback.axd</pingback:server><pingback:target>http://www.lehmkuhl.za.net/blog/post.aspx?id=cfc76781-a95f-4a82-a968-4e9f4b7aab3b</pingback:target><slash:comments>0</slash:comments><trackback:ping>http://www.lehmkuhl.za.net/blog/trackback.axd?id=cfc76781-a95f-4a82-a968-4e9f4b7aab3b</trackback:ping><wfw:comment>http://www.lehmkuhl.za.net/blog/post/2008/08/04/RE-Updated-SyntaxHighlighter-Extension-for-BlogEngineNET.aspx#comment</wfw:comment><wfw:commentRss>http://www.lehmkuhl.za.net/blog/syndication.axd?post=cfc76781-a95f-4a82-a968-4e9f4b7aab3b</wfw:commentRss></item><item><title>Updated LinkList widget for BlogEngine.NET</title><description>&lt;p&gt;
Here&amp;#39;s an updated LinkList widget that allows for changing the order of items in the list with a &amp;#39;Move Up&amp;#39; command.&lt;br /&gt;
Also updated the &lt;code&gt;txtUrl&lt;/code&gt; control&amp;#39;s &lt;code&gt;ValidationExpression&lt;/code&gt; to cater for urls starting with &amp;#39;/&amp;#39;, &amp;#39;~/&amp;#39; and &amp;#39;mailto:&amp;#39;. 
&lt;/p&gt;
 
&lt;p&gt;
&lt;a rel="lightbox" href="http://www.lehmkuhl.za.net/blog/image.axd?picture=WindowsLiveWriter/UpdatedLinkListwidgetforBlogEngine.NET_E77A/LinkList_2.jpg"&gt;&lt;img style="border: 0px none " src="http://www.lehmkuhl.za.net/blog/image.axd?picture=WindowsLiveWriter/UpdatedLinkListwidgetforBlogEngine.NET_E77A/LinkList_thumb.jpg" border="0" alt="LinkList" width="244" height="165" /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp; 
&lt;/p&gt;
 
&lt;p&gt;
&lt;a href="http://www.lehmkuhl.za.net/blog/file.axd?file=LinkList.zip"&gt;Download the updated LinkList widget&lt;/a&gt; or get the &lt;a href="http://www.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=blogengine&amp;amp;DownloadId=39795"&gt;patch files&lt;/a&gt; from &lt;a href="http://www.codeplex.com/blogengine/SourceControl/PatchList.aspx" target="_blank"&gt;CodePlex&lt;/a&gt; to apply to your working copy. 
&lt;/p&gt;
</description><link>http://www.lehmkuhl.za.net/blog/post/2008/07/27/Updated-LinkList-widget-for-BlogEngineNET.aspx</link><author>riaanl.nospam@nospam.gmail.com (Riaan)</author><comments>http://www.lehmkuhl.za.net/blog/post/2008/07/27/Updated-LinkList-widget-for-BlogEngineNET.aspx#comment</comments><guid>http://www.lehmkuhl.za.net/blog/post.aspx?id=b86f10c6-0151-42a2-8e4c-3f7995e5d2ac</guid><pubDate>Sun, 27 Jul 2008 15:51:00 +0200</pubDate><category>BlogEngine.NET</category><category>Downloads</category><dc:publisher>Riaan</dc:publisher><pingback:server>http://www.lehmkuhl.za.net/blog/pingback.axd</pingback:server><pingback:target>http://www.lehmkuhl.za.net/blog/post.aspx?id=b86f10c6-0151-42a2-8e4c-3f7995e5d2ac</pingback:target><slash:comments>3</slash:comments><trackback:ping>http://www.lehmkuhl.za.net/blog/trackback.axd?id=b86f10c6-0151-42a2-8e4c-3f7995e5d2ac</trackback:ping><wfw:comment>http://www.lehmkuhl.za.net/blog/post/2008/07/27/Updated-LinkList-widget-for-BlogEngineNET.aspx#comment</wfw:comment><wfw:commentRss>http://www.lehmkuhl.za.net/blog/syndication.axd?post=b86f10c6-0151-42a2-8e4c-3f7995e5d2ac</wfw:commentRss></item><item><title>Grass And Sky BlogEngine.NET 1.4 template</title><description>&lt;p&gt;
As promised in a &lt;a href="http://www.lehmkuhl.za.net/blog/post.aspx?id=dd6eee4e-0fa3-46b2-a96f-06b62dbbd9c4" title="Grass And Sky Free website template"&gt;previous post&lt;/a&gt; here is the Grass And Sky template adapted for  &lt;a rel="nofollow" href="http://www.dotnetblogengine.net/" target="_blank"&gt;BlogEngine.NET&lt;/a&gt; 1.4
&lt;/p&gt;
&lt;p&gt;
&lt;img style="border-width: 0px" src="http://www.lehmkuhl.za.net/blog/image.axd?picture=grassandsky-website-template.jpg" border="0" alt="Grass And Sky website template" title="Grass And Sky website template" /&gt;&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
This theme is not a 100% complete yet, but maybe you can make it work for yourself.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.lehmkuhl.za.net/blog/file.axd?file=GrassAndSky.zip" title="download GrassAndSky.zip"&gt;Download&lt;/a&gt; and give it a go. 
&lt;/p&gt;
</description><link>http://www.lehmkuhl.za.net/blog/post/2008/07/27/Grass-And-Sky-BlogEngineNET-14-template.aspx</link><author>riaanl.nospam@nospam.gmail.com (Riaan)</author><comments>http://www.lehmkuhl.za.net/blog/post/2008/07/27/Grass-And-Sky-BlogEngineNET-14-template.aspx#comment</comments><guid>http://www.lehmkuhl.za.net/blog/post.aspx?id=3d7076e0-a3ab-444c-937c-1280a301dba6</guid><pubDate>Sun, 27 Jul 2008 15:09:00 +0200</pubDate><category>BlogEngine.NET</category><category>Design</category><category>General</category><dc:publisher>Riaan</dc:publisher><pingback:server>http://www.lehmkuhl.za.net/blog/pingback.axd</pingback:server><pingback:target>http://www.lehmkuhl.za.net/blog/post.aspx?id=3d7076e0-a3ab-444c-937c-1280a301dba6</pingback:target><slash:comments>0</slash:comments><trackback:ping>http://www.lehmkuhl.za.net/blog/trackback.axd?id=3d7076e0-a3ab-444c-937c-1280a301dba6</trackback:ping><wfw:comment>http://www.lehmkuhl.za.net/blog/post/2008/07/27/Grass-And-Sky-BlogEngineNET-14-template.aspx#comment</wfw:comment><wfw:commentRss>http://www.lehmkuhl.za.net/blog/syndication.axd?post=3d7076e0-a3ab-444c-937c-1280a301dba6</wfw:commentRss></item><item><title>Updated SyntaxHighlighter Extension for BlogEngine.NET</title><description>&lt;p&gt;
Looking for ways to add syntax highlighting to my blog I came accross &lt;a rel="contact" href="http://www.scottdougherty.com/blog/" target="_blank"&gt;Scott Dougherty&lt;/a&gt;&amp;#39;s article for &lt;a rel="nofollow" href="http://www.scottdougherty.com/blog/post.aspx?id=41cbe162-b538-41c4-a1ea-7918dd029179" target="_blank" title="Scott Dougherty's blog"&gt;Adding SyntaxHighlighter to BlogEngine.NET&lt;/a&gt; and then &lt;a rel="contact" href="http://www.dscoduc.com/" target="_blank"&gt;Chris Blankenship&lt;/a&gt;&amp;#39;s &lt;a rel="nofollow" href="http://www.dscoduc.com/post.aspx?id=9614896b-a620-495a-af47-c047b02a53bb" target="_blank"&gt;SyntaxHighlighter Extension for BlogEngine.NET&lt;/a&gt;.
&lt;/p&gt;
 
&lt;p&gt;
I really like his extension, but I wanted the installation path and loaded language scripts to be configurable so I&amp;#39;ve updated his extension to use the BlogEngine Extension Manager.
&lt;/p&gt;
 
&lt;ol&gt;
	 
	&lt;li&gt;Download &lt;a rel="nofollow" href="http://code.google.com/p/syntaxhighlighter/" target="_blank" title="Free syntax highlighter written in Java Script"&gt;SyntaxHighlighter&lt;/a&gt;  &lt;/li&gt;
	&lt;li&gt;Extract and upload the SyntaxHighlighter code to your blog (I renamed the &lt;em&gt;dp.SyntaxHighlighter&lt;/em&gt; directory to just &lt;em&gt;SyntaxHighlighter&lt;/em&gt;) &lt;br /&gt;
	eg. &lt;em&gt;~/extensions/SyntaxHighlighter&lt;/em&gt; &lt;/li&gt;
	&lt;li&gt;Download, extract and upload the &lt;a href="http://www.lehmkuhl.za.net/blog/admin/Pages/file.axd?file=SyntaxHighlighter.zip" target="_blank" title="SyntaxHighlighter Extension for BlogEngine.NET"&gt;SyntaxHighlighter.cs&lt;/a&gt; file into the &lt;em&gt;~/App_Code/Extensions&lt;/em&gt; directory  
&lt;p class="note"&gt;NOTE:&lt;br /&gt; If you already had the SyntaxHighlighter Extension from Chris Blankenship installed, you might have to delete the "&lt;em&gt;~/App_Data/datastore/extensions/SyntaxHighlighter.xml&lt;/em&gt;" file before the new extension settings will be loaded.&lt;/p&gt;&lt;/li&gt;
	&lt;li&gt;Login to your blog and go to &amp;quot;&lt;em&gt;Extensions&lt;/em&gt;&amp;quot; under the &amp;quot;&lt;em&gt;Control panel&lt;/em&gt;&amp;quot;  &lt;/li&gt;
	&lt;li&gt;Click on &amp;quot;&lt;em&gt;Edit&lt;/em&gt;&amp;quot; next to the &amp;quot;&lt;em&gt;SyntaxHighlighter&lt;/em&gt;&amp;quot; extension and configure as required (see preview below)&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
 
&lt;p&gt;
&lt;a rel="lightbox" href="http://www.lehmkuhl.za.net/blog/admin/Pages/image.axd?picture=WindowsLiveWriter/UpdatedSyntaxHighlighterExtensionfor.NET_B366/SyntaxHighlighter_2.jpg"&gt;&lt;img style="border-width: 0px" src="/blog/admin/Pages/image.axd?picture=WindowsLiveWriter/UpdatedSyntaxHighlighterExtensionfor.NET_B366/SyntaxHighlighter_thumb.jpg" border="0" alt="SyntaxHighlighter Extension Manager" width="144" height="244" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
For a list of supported languages see the &lt;a rel="nofollow" href="http://code.google.com/p/syntaxhighlighter/wiki/Languages" target="_blank"&gt;syntaxhighlighter wiki&lt;/a&gt;
&lt;/p&gt;
 
&lt;p&gt;
For Windows Live Writer support:
&lt;/p&gt;
 
&lt;ol&gt;
	 
	&lt;li&gt;Download and install &lt;a rel="nofollow" href="http://www.windowslive.com/writer/overview.html" target="_blank"&gt;Windows Live Writer&lt;/a&gt; and the &lt;a href="http://www.codeplex.com/wlwSyntaxHighlighter" target="_blank"&gt;SyntaxHighlighter for Windows Live Writer plugin&lt;/a&gt; (Requires &lt;a rel="nofollow" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6" target="_blank"&gt;.Net 3.5 framework&lt;/a&gt;) &lt;/li&gt;
	&lt;li&gt;Update the blog style (In Live Writer under the &amp;quot;Weblog&amp;quot; menu then &amp;quot;Edit Weblog Settings...&amp;quot; and click on the &amp;quot;Editing&amp;quot; tab)&lt;/li&gt;
&lt;/ol&gt;
 
&lt;p class="note"&gt;
NOTE: &lt;br /&gt;
If you have custom ordered list item styles in your theme, you might have to make a small change to the SyntaxHighlighter CSS. In my case I&amp;#39;ve got a custom list-style-image so I had to make the following change in the &amp;quot;SyntaxHighlighter\Styles\SyntaxHighlighter.css&amp;quot; file: &lt;br /&gt;
in the following bit, I added &lt;code&gt;list-style-image: none;&lt;/code&gt;:
&lt;/p&gt;
&lt;pre class="css" name="code"&gt;
/* clear styles */
.dp-highlighter ol,
.dp-highlighter ol li,
.dp-highlighter ol li span 
{
margin: 0;
padding: 0;
border: none;
list-style-image: none;
}
&lt;/pre&gt;
Here&amp;#39;s the diff:&lt;br /&gt;
&lt;pre&gt;
Index: /BlogEngine/BlogEngine.Web/extensions/SyntaxHighlighter/Styles/SyntaxHighlighter.css 
=================================================================== 
--- /BlogEngine/BlogEngine.Web/extensions/SyntaxHighlighter/Styles/SyntaxHighlighter.css 
+++ /BlogEngine/BlogEngine.Web/extensions/SyntaxHighlighter/Styles/SyntaxHighlighter.css 
@@ -17,6 +17,7 @@
margin: 0;
padding: 0;
border: none;
&lt;strong&gt;+	list-style-image: none;&lt;/strong&gt;
}
.dp-highlighter a,
&lt;/pre&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
</description><link>http://www.lehmkuhl.za.net/blog/post/2008/07/27/Updated-SyntaxHighlighter-Extension-for-BlogEngineNET.aspx</link><author>riaanl.nospam@nospam.gmail.com (Riaan)</author><comments>http://www.lehmkuhl.za.net/blog/post/2008/07/27/Updated-SyntaxHighlighter-Extension-for-BlogEngineNET.aspx#comment</comments><guid>http://www.lehmkuhl.za.net/blog/post.aspx?id=700cc7ed-b505-4092-b03d-41b58d6834fe</guid><pubDate>Sun, 27 Jul 2008 12:52:00 +0200</pubDate><category>BlogEngine.NET</category><category>General</category><dc:publisher>Riaan</dc:publisher><pingback:server>http://www.lehmkuhl.za.net/blog/pingback.axd</pingback:server><pingback:target>http://www.lehmkuhl.za.net/blog/post.aspx?id=700cc7ed-b505-4092-b03d-41b58d6834fe</pingback:target><slash:comments>15</slash:comments><trackback:ping>http://www.lehmkuhl.za.net/blog/trackback.axd?id=700cc7ed-b505-4092-b03d-41b58d6834fe</trackback:ping><wfw:comment>http://www.lehmkuhl.za.net/blog/post/2008/07/27/Updated-SyntaxHighlighter-Extension-for-BlogEngineNET.aspx#comment</wfw:comment><wfw:commentRss>http://www.lehmkuhl.za.net/blog/syndication.axd?post=700cc7ed-b505-4092-b03d-41b58d6834fe</wfw:commentRss></item><item><title>Firefox 3 Bug: invalid 'in' operand this._sandbox</title><description>&lt;p&gt;
If you are getting the following JavaScript error in Firefox 3, here is a quick workaround:
&lt;/p&gt;
&lt;blockquote&gt;
	&lt;code&gt;
	&lt;strong&gt;Error: invalid &amp;#39;in&amp;#39; operand this._sandBox&lt;/strong&gt;
	Source File: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsProxyAutoConfig.js
	Line: 95
	&lt;/code&gt;
&lt;/blockquote&gt;
Open the file mentioned in your favourite text editor (one that can handle unix line endings; if you have nothing else, use WordPad), and seach for the this line:
&lt;pre class="js" name="code"&gt;
if (!(&amp;quot;FindProxyForURL&amp;quot; in this._sandBox))
   return null;
&lt;/pre&gt;
and wrap it in a try/catch block like this: 
&lt;pre class="js" name="code"&gt;
try {
   if (!(&amp;quot;FindProxyForURL&amp;quot; in this._sandBox))
      return null;
} catch (e) { return null; }
&lt;/pre&gt;
Save your changes, and restart Firefox.&lt;br /&gt;
&lt;br /&gt;
Although this is probably not the correct way to solve this problem, at least it helps to keep the &amp;#39;Error Console&amp;#39; garbage free.
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
</description><link>http://www.lehmkuhl.za.net/blog/post/2008/07/23/Firefox-3-Bug-invalid-in-operand-this_sandbox.aspx</link><author>riaanl.nospam@nospam.gmail.com (Riaan)</author><comments>http://www.lehmkuhl.za.net/blog/post/2008/07/23/Firefox-3-Bug-invalid-in-operand-this_sandbox.aspx#comment</comments><guid>http://www.lehmkuhl.za.net/blog/post.aspx?id=026bb6a8-0ac0-4ffa-9f5e-8afeb52ddb58</guid><pubDate>Wed, 23 Jul 2008 19:27:00 +0200</pubDate><category>Tips &amp; Tricks</category><dc:publisher>Riaan</dc:publisher><pingback:server>http://www.lehmkuhl.za.net/blog/pingback.axd</pingback:server><pingback:target>http://www.lehmkuhl.za.net/blog/post.aspx?id=026bb6a8-0ac0-4ffa-9f5e-8afeb52ddb58</pingback:target><slash:comments>0</slash:comments><trackback:ping>http://www.lehmkuhl.za.net/blog/trackback.axd?id=026bb6a8-0ac0-4ffa-9f5e-8afeb52ddb58</trackback:ping><wfw:comment>http://www.lehmkuhl.za.net/blog/post/2008/07/23/Firefox-3-Bug-invalid-in-operand-this_sandbox.aspx#comment</wfw:comment><wfw:commentRss>http://www.lehmkuhl.za.net/blog/syndication.axd?post=026bb6a8-0ac0-4ffa-9f5e-8afeb52ddb58</wfw:commentRss></item><item><title>Moving from Blogger to BlogEngine.NET</title><description>&lt;p&gt;
I just moved my blog from &lt;a rel="nofollow" href="http://www.blogger.com/" target="_blank"&gt;Blogger&lt;/a&gt; to &lt;a rel="nofollow" href="http://dotnetblogengine.net/" target="_blank"&gt;BlogEngine.NET&lt;/a&gt;. I done this for various reasons, but mainly because I&amp;#39;m a control freak.
&lt;/p&gt;
&lt;p&gt;
Although I could have used the &amp;quot;blog.importer.application&amp;quot; provided by BlogEngine.NET, I did the export and import manually to have full control of the process.
&lt;/p&gt;
&lt;p&gt;
Normally when moving domains the best way would of course be to setup 301 redirects, So my new blog to keep rankings etc. but Blogger has made that impossible.
&lt;/p&gt;
&lt;p&gt;
I searched for ways for just forwarding all the requests to the Blogger blog to my new blog and found many posts on moving from Blogger to &lt;a rel="nofollow" href="http://wordpress.com/" target="_blank"&gt;Wordpress&lt;/a&gt;. So this post just includes the specifics for BlogEngine.NET.
&lt;/p&gt;
&lt;p&gt;
The main two sources I used was:
&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a rel="nofollow" href="http://www.libertyinteractivemarketing.com/blog/successfully-forwarding-blogger-to-wordpress/" target="_blank"&gt;http://www.libertyinteractivemarketing.com/blog/successfully-forwarding-blogger-to-wordpress/&lt;/a&gt; &lt;/li&gt;    
	&lt;li&gt;&lt;a rel="nofollow" href="http://procrastiblog.com/2008/07/12/redirecting-blogger-posts-to-wordpress/" target="_blank"&gt;http://procrastiblog.com/2008/07/12/redirecting-blogger-posts-to-wordpress/&lt;/a&gt; &lt;/li&gt; 
&lt;/ul&gt;
&lt;p&gt;
I wanted my old blog to stay up with posts intact so that people that has bookmarked it or any posts can still find what they are looking for and because read this post: &lt;a rel="nofollow" href="http://smartboydesigns.com/2008/03/20/why-you-should-never-delete-your-blogger-blogs" target="_blank"&gt;why-you-should-never-delete-your-blogger-blogs&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
The Walkthrough: 
&lt;/p&gt;
&lt;p&gt;
&lt;em&gt;(Remember to replace &amp;quot;YOUR_NEW_BLOG_DOMAIN_HERE&amp;quot; with your blog&amp;#39;s address.)&lt;/em&gt;
&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Setup the auto redirect:      &lt;br /&gt;
	Log into your Blogger account, navigate to the &amp;quot;Layout&amp;quot; tab and click on &amp;quot;Edit HTML&amp;quot;. In the template editor put the following in the &lt;code&gt;&amp;lt;head&amp;gt;...&amp;lt;/head&amp;gt;&lt;/code&gt;:       
&lt;pre class="html" name="code"&gt;&amp;lt;meta content=&amp;#39;5;url=http://YOUR_NEW_BLOG_DOMAIN_HERE/&amp;#39; http-equiv=&amp;#39;refresh&amp;#39;/&amp;gt;&lt;/pre&gt;
	This will handle the front page redirection of the blog. &lt;/li&gt;
	&lt;li&gt;To let the users know that your blog has moved, and that they will be redirected, add a message to the page: 
	&lt;pre class="html" name="code"&gt;&amp;lt;div style=&amp;#39;position: absolute; top: 30px; left: 30px; border: solid 2px #333; color: #000; background-color: yellow; padding: 5px; width: 400px; z-index: 5; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: large;opacity: .4;filter: alpha(opacity=40);&amp;#39;&amp;gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;My blog has moved!&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p&amp;gt;You should be automatically redirected in 5 seconds. If not, visit&amp;lt;br/&amp;gt; &amp;lt;a href=&amp;#39;http://YOUR_NEW_BLOG_DOMAIN_HERE/&amp;#39;&amp;gt; &amp;lt;strong&amp;gt;YOUR_NEW_BLOG_DOMAIN_HERE&amp;lt;/strong&amp;gt;&amp;lt;/a&amp;gt; &amp;lt;br/&amp;gt; and update your bookmarks.&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;&lt;/pre&gt;
	Place this right after the opening &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; tag. 
	&lt;br /&gt;
	&lt;a rel="lightbox" href="http://www.lehmkuhl.za.net/blog/image.axd?picture=WindowsLiveWriter/MovingfromBloggertoBlogEngine.NET_1442/redirect_2.jpg" target="_blank"&gt;&lt;img style="border-width: 0px" src="http://www.lehmkuhl.za.net/blog/image.axd?picture=WindowsLiveWriter/MovingfromBloggertoBlogEngine.NET_1442/redirect_thumb.jpg" border="0" alt="redirect" width="244" height="115" /&gt;&lt;/a&gt; &lt;/li&gt;
	&lt;li&gt;Because your new blog will contain all the posts from the old Blogger blog you need to avoid being penalised for duplicate content, add this to the &amp;quot;head&amp;quot; section as in point one... 
	&lt;pre class="html" name="code"&gt;&amp;lt;META NAME=&amp;quot;ROBOTS&amp;quot; CONTENT=&amp;quot;NOINDEX, FOLLOW&amp;quot;/&amp;gt;
&amp;lt;META NAME=&amp;quot;GOOGLEBOT&amp;quot; CONTENT=&amp;quot;NOINDEX, FOLLOW&amp;quot;/&amp;gt;&lt;/pre&gt;
	&lt;code&gt;NOINDEX FOLLOW&lt;/code&gt; tells the crawler not to index the Blogger page but to &lt;em&gt;&lt;code&gt;FOLLOW&lt;/code&gt;&lt;/em&gt; the redirect. &lt;code&gt;NOINDEX&lt;/code&gt; will also instruct the crawler to drop any already indexed version of page. &lt;/li&gt;
	&lt;li&gt;To make the individual posts forward to their new counterparts a few things need to be done: 
	&lt;ol&gt;
		&lt;li&gt;On the Blogger control panel in &amp;ldquo;Settings -&amp;gt; Formatting&amp;rdquo;, change the Timestamps on posts to the &lt;code&gt;MM/DD/YYYY&lt;/code&gt; format. &lt;/li&gt;
		&lt;li&gt;Look for this code in the Blogger Template &lt;/li&gt;&lt;/ol&gt;
		&lt;pre class="html" name="code"&gt;&amp;lt;b:section class=&amp;#39;main&amp;#39; id=&amp;#39;main&amp;#39; showaddelement=&amp;#39;no&amp;#39;&amp;gt;&lt;/pre&gt;
		
		&lt;span style="text-indent:10px;"&gt;and enter the following widget code under it (combine the three bits): &lt;/span&gt;
&lt;pre class="html" name="code"&gt;&amp;lt;b:widget id=&amp;#39;Redirector&amp;#39; locked=&amp;#39;true&amp;#39; title=&amp;#39;Blog Posts&amp;#39; type=&amp;#39;Blog&amp;#39; &amp;gt;
&amp;lt;b:includable id=&amp;#39;main&amp;#39; &amp;gt;
&amp;lt;b:if cond=&amp;#39;data:blog.pageType == &amp;quot;item&amp;quot;&amp;#39; &amp;gt;
&amp;lt;b:loop values=&amp;#39;data:posts&amp;#39; var=&amp;#39;post&amp;#39; &amp;gt;
&amp;lt;div id=&amp;#39;redirectorTitle&amp;#39; style=&amp;#39;visibility:hidden&amp;#39; &amp;gt; &amp;lt;data:post.title/ &amp;gt; &amp;lt;/div &amp;gt;
&amp;lt;script type=&amp;#39;text/javascript&amp;#39; &amp;gt;&lt;/pre&gt;
&lt;pre class="js" name="code"&gt;var new_domain = &amp;#39;http://www.lehmkuhl.za.net/blog/post&amp;#39;
function utf8_uri_encode( str ) {
   var high_code = new RegExp(/[\u0080-\uffff]+/);;
   new_str = str;;
   while( m = high_code.exec( new_str ) ) {
      new_str = new_str.replace(m,encodeURIComponent(m));;
   }
   return new_str;;
}
var title = document.getElementById(&amp;#39;redirectorTitle&amp;#39;).innerHTML;;
// [INCOMPLETE] Keep percent signs that aren&amp;#39;t part of an octet?
title = title.replace(/&amp;lt;[^&amp;gt;]*?&amp;gt;/g,&amp;#39;&amp;#39;);; // remove tags
title = title.replace(/&amp;amp;.+?;/g,&amp;#39;&amp;#39;);; // remove entities
title = utf8_uri_encode(title);; // handle UTF-8 characters
title = title.toLowerCase();;
title = title.replace(/[^%a-z0-9 _-]/g,&amp;#39;&amp;#39;);; // remove punctuation
title = title.replace(/\s+/g,&amp;#39;-&amp;#39;);; // turn spaces into hyphens
title = title.replace(/-+/g, &amp;#39;-&amp;#39;);; // collapse runs of hyphens
title = title.replace(/^-+/g,&amp;#39;&amp;#39;);; // remove prefixed hyphens
title = title.replace(/-+$/g,&amp;#39;&amp;#39;);; // remove suffixed hyphens
var timestamp = &amp;#39; &amp;lt;data:post.timestamp/ &amp;gt;&amp;#39;;
timestamp = timestamp.split(&amp;#39;/&amp;#39;);
timestamp = timestamp[2]+&amp;#39;/&amp;#39;+timestamp[0]+&amp;#39;/&amp;#39;+timestamp[1];
var new_page = new_domain + &amp;#39;/&amp;#39; + timestamp + &amp;#39;/&amp;#39; + title + &amp;#39;.aspx&amp;#39;;;
document.location.href = new_page;&lt;/pre&gt;
&lt;pre class="html" name="code"&gt;&amp;lt;/script &amp;gt;
&amp;lt;/b:loop &amp;gt;
&amp;lt;/b:if &amp;gt;
&amp;lt;/b:includable &amp;gt;
&amp;lt;/b:widget &amp;gt;&lt;/pre&gt;
		&lt;br /&gt;
		This will redirect the blogger post... 
		&lt;br /&gt;
		http://someblog.blogspot.com/2008/06/some-blog-post.html 
		&lt;br /&gt;
		...to... 
		&lt;br /&gt;
		http://YOUR_NEW_BLOG_DOMAIN_HERE/post/2008/06/28/some-blog-post.aspx 
	
	&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
To see a working example visit my old blog at &lt;a ref="nofollow" href="http://somethingsubversion.blogspot.com/" title="http://somethingsubversion.blogspot.com/"&gt;http://somethingsubversion.blogspot.com/&lt;/a&gt;.
&lt;/p&gt;
</description><link>http://www.lehmkuhl.za.net/blog/post/2008/07/22/Moving-from-Blogger-to-BlogEngineNET.aspx</link><author>riaanl.nospam@nospam.gmail.com (Riaan)</author><comments>http://www.lehmkuhl.za.net/blog/post/2008/07/22/Moving-from-Blogger-to-BlogEngineNET.aspx#comment</comments><guid>http://www.lehmkuhl.za.net/blog/post.aspx?id=fa6d0b49-4c34-4f3c-81a8-1b7ff519e850</guid><pubDate>Tue, 22 Jul 2008 02:42:00 +0200</pubDate><category>BlogEngine.NET</category><category>Tips &amp; Tricks</category><dc:publisher>Riaan</dc:publisher><pingback:server>http://www.lehmkuhl.za.net/blog/pingback.axd</pingback:server><pingback:target>http://www.lehmkuhl.za.net/blog/post.aspx?id=fa6d0b49-4c34-4f3c-81a8-1b7ff519e850</pingback:target><slash:comments>0</slash:comments><trackback:ping>http://www.lehmkuhl.za.net/blog/trackback.axd?id=fa6d0b49-4c34-4f3c-81a8-1b7ff519e850</trackback:ping><wfw:comment>http://www.lehmkuhl.za.net/blog/post/2008/07/22/Moving-from-Blogger-to-BlogEngineNET.aspx#comment</wfw:comment><wfw:commentRss>http://www.lehmkuhl.za.net/blog/syndication.axd?post=fa6d0b49-4c34-4f3c-81a8-1b7ff519e850</wfw:commentRss></item><item><title>Add Google Talk Online Presence to Web Pages</title><description>If you use &lt;a rel="nofollow" href="http://www.google.com/talk/" target="_blank"&gt;Google Talk&lt;/a&gt; instant messenger and would like to stay connected with visitors on your website, the Google Talk chatback badge is a cool way to display to them when you are online and available to chat / IM with them.
&lt;br /&gt;
&lt;br /&gt;
Just point your browser to &lt;a rel="nofollow" href="http://www.google.com/talk/service/badge/New" target="_blank"&gt;http://www.google.com/talk/service/badge/New&lt;/a&gt;, and follow the easy instructions.
</description><link>http://www.lehmkuhl.za.net/blog/post/2008/07/13/Add-Google-Talk-Online-Presence-to-Web-Pages.aspx</link><author>riaanl.nospam@nospam.gmail.com (Riaan)</author><comments>http://www.lehmkuhl.za.net/blog/post/2008/07/13/Add-Google-Talk-Online-Presence-to-Web-Pages.aspx#comment</comments><guid>http://www.lehmkuhl.za.net/blog/post.aspx?id=931cc0e6-1f84-4b1b-a19a-69fadf1f5fd3</guid><pubDate>Sun, 13 Jul 2008 00:08:00 +0200</pubDate><category>Design</category><category>Tips &amp; Tricks</category><dc:publisher>Riaan</dc:publisher><pingback:server>http://www.lehmkuhl.za.net/blog/pingback.axd</pingback:server><pingback:target>http://www.lehmkuhl.za.net/blog/post.aspx?id=931cc0e6-1f84-4b1b-a19a-69fadf1f5fd3</pingback:target><slash:comments>0</slash:comments><trackback:ping>http://www.lehmkuhl.za.net/blog/trackback.axd?id=931cc0e6-1f84-4b1b-a19a-69fadf1f5fd3</trackback:ping><wfw:comment>http://www.lehmkuhl.za.net/blog/post/2008/07/13/Add-Google-Talk-Online-Presence-to-Web-Pages.aspx#comment</wfw:comment><wfw:commentRss>http://www.lehmkuhl.za.net/blog/syndication.axd?post=931cc0e6-1f84-4b1b-a19a-69fadf1f5fd3</wfw:commentRss></item></channel>
</rss>
