<?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>cyprich.com</title>
	<atom:link href="http://www.cyprich.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyprich.com</link>
	<description>Occasionally Relevant Insights from a Software Builder</description>
	<lastBuildDate>Mon, 07 May 2012 16:50:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>The World&#8217;s First Product Support Service Call</title>
		<link>http://www.cyprich.com/2012/05/03/the-worlds-first-product-support-service-call/</link>
		<comments>http://www.cyprich.com/2012/05/03/the-worlds-first-product-support-service-call/#comments</comments>
		<pubDate>Thu, 03 May 2012 18:00:00 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
				<category><![CDATA[Humour]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[service call]]></category>
		<category><![CDATA[tech support]]></category>

		<guid isPermaLink="false">http://www.cyprich.com/2011/08/12/the-worlds-first-product-support-service-call/</guid>
		<description><![CDATA[Rare footage from the world’s first IT service call in Norway. There are subtitles in English for those who don’t understand the native language.]]></description>
			<content:encoded><![CDATA[<p>Rare footage from the world’s first IT service call in Norway. There are subtitles in English for those who don’t understand the native language.</p>
<div class="wpv_videoc">
<div class="wpv_video"><object data="http://www.youtube.com/v/oo53pQXHxBI" type="application/x-shockwave-flash" width="100%" height="100%"><param name="movie" value="http://www.youtube.com/v/oo53pQXHxBI"></param></object></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2012/05/03/the-worlds-first-product-support-service-call/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Ultimate Error Message</title>
		<link>http://www.cyprich.com/2012/04/27/the-ultimate-error-message/</link>
		<comments>http://www.cyprich.com/2012/04/27/the-ultimate-error-message/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 20:07:43 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
				<category><![CDATA[Humour]]></category>

		<guid isPermaLink="false">http://www.cyprich.com/?p=902</guid>
		<description><![CDATA[I recently spoke with a user who was having problems with one of my web sites. He claimed to be getting an error message that said, &#8220;it doesn&#8217;t work&#8221;. Of course, Apache and IIS do not return messages like that and there is no custom message on my sites that say this, but it got [...]]]></description>
			<content:encoded><![CDATA[<p>I recently spoke with a user who was having problems with one of my web sites. He claimed to be getting an error message that said, &#8220;it doesn&#8217;t work&#8221;. Of course, Apache and IIS do not return messages like that and there is no custom message on my sites that say this, but it got me thinking.<table align="right">
<tr>
<td>
<script type="text/javascript"><!--
google_ad_client = "pub-2737139081127841";
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = "300x250_as";
google_ad_type = "text_image";
//2006-12-05: www.cyprich.com
google_ad_channel = "2715439300";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table></p>
<p>This would actually be an interesting universal error message for web sites and apps. It doesn&#8217;t help the developer narrow down the problem, but its straight to the point that a feature failed. Fortunately, no developer would use an error message like this since it makes our lives more difficult in identifying a problem and replicating it.</p>
<p><img class="size-full wp-image-903 aligncenter" title="It Doesn't Work." src="http://www.cyprich.com/wp-content/uploads/2012/04/It-Doesnt-Work.jpg" alt="" width="152" height="126" /></p>
<p>An important thing to keep in mind here is that when a user claims to get an error that&#8217;s impossible, we need to remain polite when speaking to them. Keep customers happy by solving their problems and don&#8217;t make them feel like fools when they make mistakes, don&#8217;t use features correctly, or find bugs. Our customers pay our bills, so be nice to them. <img src='http://www.cyprich.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2012/04/27/the-ultimate-error-message/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Iterate Through an Associated Array in PHP</title>
		<link>http://www.cyprich.com/2012/02/24/how-to-iterate-through-an-associated-array-in-php/</link>
		<comments>http://www.cyprich.com/2012/02/24/how-to-iterate-through-an-associated-array-in-php/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 20:33:19 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.cyprich.com/?p=892</guid>
		<description><![CDATA[The following code will allow you to iterate through any associated array in PHP. The keys in the array are displayed in a bold font. foreach ($list as $i => $values) { foreach ($values as $key => $value) echo "$key => $value"; echo ""; }]]></description>
			<content:encoded><![CDATA[<p>The following code will allow you to iterate through any associated array in PHP. The keys in the array are displayed in a bold font.<table align="right">
<tr>
<td>
<script type="text/javascript"><!--
google_ad_client = "pub-2737139081127841";
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = "300x250_as";
google_ad_type = "text_image";
//2006-12-05: www.cyprich.com
google_ad_channel = "2715439300";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table> </p>
<p><code><br />
      foreach ($list as $i => $values)<br />
      {<br />
      	foreach ($values as $key => $value)<br />
      	  echo "<span style=\"font-weight: bold\">$key</span> => $value";</p>
<p>      	echo "<br />";<br />
      }<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2012/02/24/how-to-iterate-through-an-associated-array-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Use Microsoft SQL Server with Joomla 2.5</title>
		<link>http://www.cyprich.com/2012/01/25/how-to-use-microsoft-sql-server-with-joomla-2-5/</link>
		<comments>http://www.cyprich.com/2012/01/25/how-to-use-microsoft-sql-server-with-joomla-2-5/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 20:35:28 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Joomla 2.5 has just been released, and it finally supports databases other than MySQL! You can now use Microsoft SQL Server (including the express versions) with Joomla. Many web developers will probably be using MS SQL Server Express for developing sites on their local machine. The following steps show you how to setup and install [...]]]></description>
			<content:encoded><![CDATA[<p>Joomla 2.5 has just been released, and it finally supports databases other than MySQL! You can now use Microsoft SQL Server (including the express versions) with Joomla. Many web developers will probably be using MS SQL Server Express for developing sites on their local machine.</p>
<p><!--adsense--></p>
<p>The following steps show you how to setup and install Joomla 2.5 with MSSQL.</p>
<p><strong>Install the PHP Drivers for SQL Server</strong></p>
<p>The <a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=20098" target="_blank">Microsoft Drivers for PHP for SQL Server</a> driver is needed to connect to SQL Server with PHP. These drivers also provide support for PDO. When you run the setup program, a good place to install the DLLs are in the ext folder in the PHP installation (i.e. C:\Program Files\PHP\ext).</p>
<p><strong>Modify php.ini to Use MSSQL</strong></p>
<p>The PHP configuration file needs to be modified to use the new MSSQL DLL. Add the following code at the end of the .ini file:</p>
<p><span style="font-family: Courier New; font-size: x-small;">[PHP_MSSQL]
extension=php_sqlsrv_53_ts_vc9.dll<br />
extension=php_pdo_sqlsrv_53_ts_vc9.dll</span></p>
<p>The first line is all you need, unless you use PDO which the second line adds support for.</p>
<p><strong>Install Joomla 2.5</strong></p>
<p>Copy Joomla to a folder where you web site will host it and setup IIS to point to it. You still need to manually create a database with SQL Server Management Studio.</p>
<p>Once this is done, run the Joomla installation program. Follow the normal installation routine until you reach the Database Configuration page. When you select the Database Type, you will have the option of Sqlsrv for MSSQL on your server, or Sqlazure for SQL Azure for cloud-based Joomla (see image below).</p>
<p><img style="display: inline; border-width: 0px;" title="Joomla 2.5.0 Database Configuration" src="http://www.cyprich.com/images/2012/HowToUseMicrosoftSQLServerwithJoomla2.5_B135/image.png" border="0" alt="Joomla 2.5.0 Database Configuration" width="500" height="305" /></p>
<p>After these are setup correctly, the rest of the Joomla installation proceeds normally.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2012/01/25/how-to-use-microsoft-sql-server-with-joomla-2-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Associating .scr with Screen Saver File Type</title>
		<link>http://www.cyprich.com/2011/12/30/associating-scr-with-screen-saver-file-type/</link>
		<comments>http://www.cyprich.com/2011/12/30/associating-scr-with-screen-saver-file-type/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 10:12:41 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[When I installed AutoCAD 2012, it changed the file type of .scr to AutoCAD Script. This made it difficult to write screen savers because I wasn’t able to run them anymore after they were compiled. Restoring the file association isn’t very difficult. One solution is to run assoc .scr=scrfile in the command shell. If this [...]]]></description>
			<content:encoded><![CDATA[<p>When I installed AutoCAD 2012, it changed the file type of .scr to AutoCAD Script. This made it difficult to write screen savers because I wasn’t able to run them anymore after they were compiled.</p>
<p> <!--adsense-->
<p>Restoring the file association isn’t very difficult. One solution is to run <strong>assoc .scr=scrfile</strong> in the command shell. If this doesn’t work, open Windows Explorer and follow these steps:</p>
<ol>
<li>Open the Tools menu and select Folder Options. </li>
<li>Select the File Types tab. </li>
<li>Press the New button. </li>
<li>Enter <strong>scr</strong> in the File Extension text box. </li>
<li>Press the Advanced button. </li>
<li>Select <strong>Screen Saver</strong> in the Associated File Type. </li>
<li>Press OK and allow the change to a new file type. </li>
</ol>
<p>Now when you run an .scr file, it displays the screen saver.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2011/12/30/associating-scr-with-screen-saver-file-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>B.C.&#8217;s First Scramble Intersection</title>
		<link>http://www.cyprich.com/2011/12/28/b-c-s-first-scramble-intersection/</link>
		<comments>http://www.cyprich.com/2011/12/28/b-c-s-first-scramble-intersection/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 07:21:10 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[The City of Richmond recently opened the first scramble intersection in the province. A scramble intersection will allow pedestrians to cross the road in any direction, including diagonally. The $600,000 crossing can be found at No. 1 Road and Moncton Street. I go to Steveston frequently and never really understand what this intersection was until [...]]]></description>
			<content:encoded><![CDATA[<p>The City of Richmond recently opened the first scramble intersection in the province. A scramble intersection will allow pedestrians to cross the road in any direction, including diagonally. The $600,000 crossing can be found at No. 1 Road and Moncton Street. I go to Steveston frequently and never really understand what this intersection was until it was pointed out to me.</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="CIMG0045" border="0" alt="CIMG0045" src="http://www.cyprich.com/images/2011/B.C.sFirstScrambleIntersection_1460B/CIMG0045.jpg" width="500" height="375" /> </p>
<p>There is just one button to press to stop all traffic to cross the road in any direction.</p>
<p><img style="display: inline" title="CIMG0044" alt="CIMG0044" src="http://www.cyprich.com/images/2011/B.C.sFirstScrambleIntersection_1460B/CIMG0044.jpg" width="375" height="500" /></p>
<p>There are more plans for scramble intersections in B.C. They are definitely a great idea since it makes crossing roads considerably safer for pedestrians.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2011/12/28/b-c-s-first-scramble-intersection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows XP is Free with Windows 7</title>
		<link>http://www.cyprich.com/2011/11/28/windows-xp-is-free-with-windows-7/</link>
		<comments>http://www.cyprich.com/2011/11/28/windows-xp-is-free-with-windows-7/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 17:25:20 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.cyprich.com/?p=875</guid>
		<description><![CDATA[Upgrades to a new operating system almost always causes compatibility problems with older applications that you were using. One way to get around this is to install the previous operating system in a virtual machine so that you can continue using the old apps on any system that can run the VM. One of the [...]]]></description>
			<content:encoded><![CDATA[<p>Upgrades to a new operating system almost always causes compatibility problems with older applications that you were using. One way to get around this is to install the previous operating system in a virtual machine so that you can continue using the old apps on <em>any</em> system that can run the VM.<!--adsense--></p>
<p>One of the best kept secrets is that Windows 7 comes with a free Window XP virtual machine. It&#8217;s not available on the installation DVD. You need to download three components from Microsoft to install it:</p>
<ol>
<li>Windows XP Mode</li>
<li>Windows Virtual PC</li>
<li>Windows XP Mode Update</li>
</ol>
<p>You can find these files on the <a href="http://www.microsoft.com/windows/virtual-pc/download.aspx">Download Windows XP Mode</a> page and the total download size for all of this is around 483 MB.</p>
<p>Once installed, you have a licensed version of Windows XP that can run all of your old applications. Keep in mind that you should also install a virus scanner (i.e. <a href="http://windows.microsoft.com/en-US/windows/products/security-essentials">Microsoft Security Essentials)</a> even if your Windows 7 system is already running one, but a firewall isn&#8217;t necessary if Windows 7 has one installed.</p>
<p>After installing XP mode, run Windows Update to install the latest patches for optimal security (this will take about 2-3 hours). Something to consider is backing up your virtual machine after you set it up. This is in case something goes wrong in the future with Windows XP and you have to reinstall it. If its backed up, you can just copy the VM files and your back to where you saved it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2011/11/28/windows-xp-is-free-with-windows-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Desktop Operating System Market Share in October 2011</title>
		<link>http://www.cyprich.com/2011/11/01/desktop-operating-system-market-share-in-october-2011/</link>
		<comments>http://www.cyprich.com/2011/11/01/desktop-operating-system-market-share-in-october-2011/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 06:26:00 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[In spite of the great gains claimed by Apple with Mac OS X, Windows still has an overwhelming lead in desktop operating system market share, according to NETMARKETSHARE. The most used OS is Windows XP at 48%, which is higher than Windows 7 and Vista combined. OS X has a total market share of 5.5% [...]]]></description>
			<content:encoded><![CDATA[<p>In spite of the great gains claimed by Apple with Mac OS X, Windows still has an overwhelming lead in desktop operating system market share, according to <a href="http://www.netmarketshare.com" target="_blank">NETMARKETSHARE</a>. The most used OS is Windows XP at 48%, which is higher than Windows 7 and Vista combined. OS X has a total market share of 5.5% and Linux is at 1.2%. Both OS X and Linux had very little gains on the desktop.</p>
<p><!--adsense-->
<p>Windows XP is, however, decreasing in usage. It had a 57.6% market share in January 2011. Users are gradually migrating to Windows 7 and eventually Windows 8 when it is released. Windows 8 will be the dominant OS in about 2 years.</p>
<p><iframe width="500" height="510" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="" id="na634558028611583598"></iframe><script type="text/javascript">document.getElementById("na634558028611583598").src="http://www.netmarketshare.com/report.aspx?qprid=10"+String.fromCharCode(38)+"qpcustomd=0"+String.fromCharCode(38)+"qpf=16"+String.fromCharCode(38)+"qpwidth=500"+String.fromCharCode(38)+"qpdisplay=1111"+String.fromCharCode(38)+"qpmr=10"+String.fromCharCode(38)+"site="+window.location.hostname</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2011/11/01/desktop-operating-system-market-share-in-october-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Update .NET Windows Controls at Runtime</title>
		<link>http://www.cyprich.com/2011/08/17/how-to-update-net-windows-controls-at-runtime/</link>
		<comments>http://www.cyprich.com/2011/08/17/how-to-update-net-windows-controls-at-runtime/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 18:00:00 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[label]]></category>
		<category><![CDATA[refresh]]></category>
		<category><![CDATA[toolstripstatuslabel]]></category>
		<category><![CDATA[windows form controls]]></category>

		<guid isPermaLink="false">http://www.cyprich.com/2011/08/17/how-to-update-net-windows-controls-at-runtime/</guid>
		<description><![CDATA[If you change the value of a control on Windows .NET form during runtime, it may not be updated with the changes. The following code should change the Text property of ToolStripStatusLabel, but it doesn&#8217;t work while its processing in the middle of its function. When its the last command in the function, it will [...]]]></description>
			<content:encoded><![CDATA[<p>If you change the value of a control on Windows .NET form during runtime, it may not be updated with the changes. The following code should change the Text property of ToolStripStatusLabel, but it doesn&#8217;t work while its processing in the middle of its function. When its the last command in the function, it will change the label.&quot;</p>
<p> <!--adsense-->
<pre>label_Folder.Text = &quot;Converting documents to PDF.&quot;;</pre>
<p>If additional code follows the label_Folder statement, it may not update the Text property. You can force the property to update with the Refresh method:</p>
<pre>label_Folder.Text = &quot;Converting documents to PDF.&quot;;
label_Folder.Refresh ();</pre>
<p>The label will then be updated with the new content. If your using a ToolStripStatusLabel, you don&#8217;t have the option of using Refresh this way, i.e.</p>
<pre>toolStripStatusLabel_ProcessingStatus.Text = &quot;Status: 12 of 19 documents processed.&quot;;
toolStripStatusLabel_ProcessingStatus.Refresh ();</pre>
<p>Instead, use this.Refresh () to force an update: </p>
<pre>toolStripStatusLabel_ProcessingStatus.Text = &quot;Status: 12 of 19 documents processed.&quot;;
this.Refresh ();</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2011/08/17/how-to-update-net-windows-controls-at-runtime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello World Example in iText</title>
		<link>http://www.cyprich.com/2011/08/16/hello-world-example-in-itext/</link>
		<comments>http://www.cyprich.com/2011/08/16/hello-world-example-in-itext/#comments</comments>
		<pubDate>Tue, 16 Aug 2011 18:00:00 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[iText]]></category>
		<category><![CDATA[iText in Action]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>

		<guid isPermaLink="false">http://www.cyprich.com/2011/08/16/hello-world-example-in-itext/</guid>
		<description><![CDATA[iText is a .NET library for creating and manipulating PDF’s. It was originally written in Java but it was also ported to .NET. The book, “iText in Action”, has examples in Java only which will only be useful if a .NET developer knows this language.&#160; C# examples can be found at iText.NET site. The code [...]]]></description>
			<content:encoded><![CDATA[<p>iText is a .NET library for creating and manipulating PDF’s. It was originally written in Java but it was also ported to .NET. The book, “iText in Action”, has examples in Java only which will only be useful if a .NET developer knows this language.&#160; C# examples can be found at <a href="http://www.ujihara.jp/iTextdotNET/en/examples.html" target="_blank">iText.NET</a> site. The code needs to be slightly modified for it to compile with Visual Studio 2010.</p>
<p> <!--adsense-->
<p>The first thing that need to change is the library references. It uses a Java style code which may have been used in an older version of iText for .NET.</p>
<pre>using com.lowagie.text;
using com.lowagie.text.pdf;</pre>
<p>should be written as:</p>
<pre>using iTextSharp.text;
using iTextSharp.text.pdf;</pre>
<p>If you cut and paste the code from the examples to VS, you will see multiple errors. Change getInstance to GetInstance, open to Open, add to Add, close to Close. If your not sure about the function being used, delete it (include the period), type a period and the available functions will be listed.</p>
<p>The code will then compile correction in VS 2010. I recommend purchasing iText in Action because it will save you time in learning how to use iText. A knowledge of Java is beneficial, but not necessary to port the examples to .NET.</p>
<p>The following is a simple example of using iText with C#.</p>
<p>&#160;</p>
<table cellpadding="10" align="left">
<tbody>
<tr>
<td>
<iframe src="http://rcm.amazon.com/e/cm?t=guardiansof0e-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=1935182617&#038;ref=tf_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=FFFFFF&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
      </td>
</tr>
</tbody>
</table>
<pre>
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

using iTextSharp.text;
using iTextSharp.text.pdf;

namespace Chap0101
{
  class Program
  {
    static void Main (string [] args)
    {
      Console.WriteLine ("Chapter 1 example 1: Hello World");

      // step 1: creation of a document-object
      Document document = new Document ();

      // step 2:
      // we create a writer that listens to the document
      // and directs a PDF-stream to a file 

      PdfWriter.GetInstance (document, new FileStream (&quot;Chap0101.pdf&quot;, FileMode.Create));

      // step 3: we open the document
      document.Open ();

      // step 4: we add a paragraph to the document
      document.Add (new Paragraph (&quot;Hello World&quot;));

      // step 5: we close the document
      document.Close ();
    }
  }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2011/08/16/hello-world-example-in-itext/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

