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

<channel>
	<title>Martin W Smith &#187; Programming</title>
	<atom:link href="http://blog.martinwsmith.co.uk/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.martinwsmith.co.uk</link>
	<description>Thoughts, ideas and stuff</description>
	<lastBuildDate>Fri, 18 Mar 2011 15:17:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>My New Programming Project</title>
		<link>http://blog.martinwsmith.co.uk/2011/03/my-new-programming-project/</link>
		<comments>http://blog.martinwsmith.co.uk/2011/03/my-new-programming-project/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 15:17:11 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[GTD]]></category>
		<category><![CDATA[NAnt]]></category>
		<category><![CDATA[NHibernate]]></category>
		<category><![CDATA[NUnit]]></category>

		<guid isPermaLink="false">http://blog.martinwsmith.co.uk/?p=62</guid>
		<description><![CDATA[I&#8217;ve recently embarked on a new personal programming project and I though I might document my progress here on this blog. The project is a GTD App (see here to read about GTD if you don&#8217;t know what it it), I realise there are lots of these types of apps already out there, but none of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently embarked on a new personal programming project and I though I might document my progress here on this blog. The project is a GTD App (see <a href="http://en.wikipedia.org/wiki/Getting_Things_Done">here</a> to read about GTD if you don&#8217;t know what it it), I realise there are lots of these types of apps already out there, but none of the ones I&#8217;ve used have ticked all the boxes for me. I&#8217;m looking to write something that suits me, I don&#8217;t know if I will ever release it, this is more an exercise for honeing my skills, learning some new tchnologies and programming techniques. In my professional life I don&#8217;t often have the opportunity to write programs the way I want to, with this project I can. When I complete the project, if I decide to release it, I may make it open source, but there&#8217;s a long way to go yet before I need to start thinking about that.</p>
<p>I&#8217;m going to be writing my app in C# using Visual Studio 2010 and using <a href="http://nhforge.org/Default.aspx">NHibernate</a> as my ORM and Persistance library, <a href="http://nunit.net/">NUnit</a> for Unit Testing, <a href="http://nant.sourceforge.net/">NAnt</a> as my Build tool and SQL Server 2008 for the Backend Database. The plan is to make the app usable on multiple database platforms, such as Oracle, MySQL and SQL Server CE. I haven&#8217;t decided what I&#8217;m going to write the GUI in yet, I think I want to have a desktop version and a web version. For the desktop version I&#8217;m not sure whether to use standard Windows Forms or WPF or for the Web version, ASP.NET or Silverlight. I&#8217;m going to concentrate on the backend first and decide on the front end later.</p>
<p>I&#8217;ll post some more information as the project progresses.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.martinwsmith.co.uk/2011/03/my-new-programming-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SVN Checksum Problem</title>
		<link>http://blog.martinwsmith.co.uk/2009/11/svn-checksum-problem/</link>
		<comments>http://blog.martinwsmith.co.uk/2009/11/svn-checksum-problem/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 09:28:20 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Source Control]]></category>

		<guid isPermaLink="false">http://blog.martinwsmith.co.uk/?p=42</guid>
		<description><![CDATA[In all my software projects now I use SVN for my source control and although very good most of the time, does have a tendancy to break sometimes. One of the issues I get sometimes is while updating my working copy from the repository, I get the following errors: &#8220;svn: Checksum mismatch for &#8216;aaa&#8217;; expected: [...]]]></description>
			<content:encoded><![CDATA[<p>In all my software projects now I use SVN for my source control and although very good most of the time, does have a tendancy to break sometimes.</p>
<p>One of the issues I get sometimes is while updating my working copy from the repository, I get the following errors:</p>
<blockquote><p>&#8220;svn: Checksum mismatch for &#8216;aaa&#8217;; expected: &#8216;xxxxx&#8217;, actual: &#8216;yyy&#8217;&#8221;</p></blockquote>
<p>You can ofcourse just delete your working copy and do another checkout, but this is not always an option for me as some of my code is heavily embedded in my development environment. So I needed another solution.</p>
<p>After searching the internet for sometime I came across this <a href="http://lifeasacto.blogspot.com/2009/04/subversion-checksum-mismatch-problem.html">blog post</a> with the following solution:</p>
<ol>
<li> checkout a clean copy to a temporary location</li>
<li>for new and your problem checkouts, go to the folder where your svn mismatch error is thrown</li>
<li>in that folder, go to .svn folder</li>
<li>copy the entries file over from the clean copy</li>
<li>svn cleanup on the problem folder</li>
<li>svn update</li>
</ol>
<p>Problem solved!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.martinwsmith.co.uk/2009/11/svn-checksum-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Visio and Tiff to PDF</title>
		<link>http://blog.martinwsmith.co.uk/2009/10/visio-and-tiff-to-pdf/</link>
		<comments>http://blog.martinwsmith.co.uk/2009/10/visio-and-tiff-to-pdf/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 19:10:13 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[acrobat]]></category>
		<category><![CDATA[vb.net]]></category>

		<guid isPermaLink="false">http://martinwsmith.wordpress.com/?p=23</guid>
		<description><![CDATA[I&#8217;m currently working on a project that requires the automatic rendering of files to PDF, MS Office files work ok but there&#8217;s a problem with Visio and Tiff files  so I wrote this simple console app in VB.NET. Module Module1 Sub Main(ByVal args As String()) OpenFileWithAcrobat(args(0), args(1)) End Sub Private Sub OpenFileWithAcrobat(ByVal InputFile As String, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently working on a project that requires the automatic rendering of files to PDF, MS Office files work ok but there&#8217;s a problem with Visio and Tiff files  so I wrote this simple console app in VB.NET.</p>
<pre>Module Module1

Sub Main(ByVal args As String())
OpenFileWithAcrobat(args(0), args(1))
End Sub

Private Sub OpenFileWithAcrobat(ByVal InputFile As String, ByVal OutPutFile As String)
Dim AcroAVDoc As Object
Dim AcroPDDoc As Object
Dim b As Boolean

AcroAVDoc = CreateObject("AcroExch.AVDoc")
b = AcroAVDoc.Open(InputFile, "Temp")

If AcroAVDoc.IsValid Then
AcroPDDoc = AcroAVDoc.GetPDDoc()
AcroPDDoc.SetInfo("Title", "")

If AcroPDDoc.Save(1 Or 4 Or 32, OutPutFile) &lt;&gt; True Then
Debug.Print("Error")
End If

AcroPDDoc.Close()
End If

AcroAVDoc.Close(0)
AcroPDDoc = Nothing
AcroAVDoc = Nothing

End Sub

End Module</pre>
<p>The app uses Acrobat Professional 9 and takes as its parameters the path of the file to be rendered to PDF format and the path of where the file should be saved to.  eg. renderer.exe &#8220;c:\temp\file.tif&#8221; &#8220;c:\temp\file.pdf&#8221;</p>
<p>It works really well as it maintains page sizes and orientation.  It will needs some error handling adding before it goes into production, but for now it works ok.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.martinwsmith.co.uk/2009/10/visio-and-tiff-to-pdf/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.205 seconds -->

