New Lines in Unix vs. Windows

by Martin 29. December 2009 08:07
I had a moment of enlightenment  today while working with text files. Summary... Unix formats new lines with the "\n" escape sequence, but Windows looks for "\r\n" The files were mime messages that came into a Unix-based mail server. These file... [More]

Converting (text, html, word) to PDF in C#

by Martin 22. December 2009 08:08
Here's the problem... We need an imaging solutions that will process e-mail messages and attachments and convert them to pdf or tif so that they can be stored and viewed through a management system.  A single message could consist of any number... [More]

Tip: Error Handling in .NET

by Martin 20. November 2009 07:29
In .NET development the common approach to exception handling is to make use of Try...Catch...Finally. try { // some code } catch (NullReferenceException ex) { // handle the exception } Sometimes you don't need to handle the exception ... [More]