<?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: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/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>ashchuan.com - Web Technology</title>
	
	<link>http://www.ashchuan.com/blog</link>
	<description>On web technology, blogging and gadgets</description>
	<lastBuildDate>Thu, 29 Jul 2010 23:03:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<!-- podcast_generator="podPress/8.8" - maintenance_release="8.8.4" -->
		<copyright>2006-2007 </copyright>
		<managingEditor>ashley@ashchuan.com (ashchuan.com - Web Technology)</managingEditor>
		<webMaster>ashley@ashchuan.com (ashchuan.com - Web Technology)</webMaster>
		<category>posts</category>
		<ttl>1440</ttl>
		<itunes:keywords />
		<itunes:subtitle />
		<itunes:summary>On web technology, blogging and gadgets</itunes:summary>
		<itunes:author>ashchuan.com - Web Technology</itunes:author>
		<itunes:category text="Society &amp; Culture" />
		<itunes:owner>
			<itunes:name>ashchuan.com - Web Technology</itunes:name>
			<itunes:email>ashley@ashchuan.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://ashchuan.com/blog/wp-content/plugins/podpress/images/powered_by_podpress.jpg" />
		<image>
			<url>http://ashchuan.com/blog/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>ashchuan.com - Web Technology</title>
			<link>http://www.ashchuan.com/blog</link>
			<width>144</width>
			<height>144</height>
		</image>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Ashchuan" /><feedburner:info uri="ashchuan" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Ashchuan</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Here’s a SQL Server Tip</title>
		<link>http://feedproxy.google.com/~r/Ashchuan/~3/bAV_4v9K1As/</link>
		<comments>http://www.ashchuan.com/blog/2010/07/29/heres-a-sql-server-tip/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 23:03:20 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Management Studio]]></category>
		<category><![CDATA[Query]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.ashchuan.com/blog/?p=959</guid>
		<description><![CDATA[How many times have you asked this question when you run a query. How do I copy the query result with the column names into Microsoft Excel? In the SQL Server Management Studio, in the Tools menu, select Tools > Options > SQL Server > Results to Grid Then check the Include column headers when [...]]]></description>
			<content:encoded><![CDATA[<p>How many times have you asked this question when you run a query.  How do I copy the query result with the column names into Microsoft Excel?</p>
<p>In the SQL Server Management Studio, in the Tools menu, select <strong>Tools > Options > SQL Server > Results to Grid</strong><em></p>
<p>Then check the <strong>Include column headers when copying or saving the results</strong> checkbox and click on OK.</p>
<p>That&#8217;s it.  The next time you run a query, copy the query result, paste in Excel and voila, the column names are pasted together with the data.</p>
<p><a href="http://www.ashchuan.com/blog/wp-content/uploads/2010/07/sqlwithcolumnname.png" rel="lightbox"><img src="http://www.ashchuan.com/blog/wp-content/uploads/2010/07/sqlwithcolumnname-300x174.png" alt="" title="sqlwithcolumnname" width="300" height="174" class="aligncenter size-medium wp-image-961" /></a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2635249250939971";
/* 300x250, created 10/02/08 */
google_ad_slot = "1990815382";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<img src="http://feeds.feedburner.com/~r/Ashchuan/~4/bAV_4v9K1As" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ashchuan.com/blog/2010/07/29/heres-a-sql-server-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ashchuan.com/blog/2010/07/29/heres-a-sql-server-tip/</feedburner:origLink></item>
		<item>
		<title>Which Photo Gallery software should I use? (Part 1)</title>
		<link>http://feedproxy.google.com/~r/Ashchuan/~3/p0CLeTSMh6E/</link>
		<comments>http://www.ashchuan.com/blog/2010/05/31/which-photo-gallery-software-should-i-use-part-1/#comments</comments>
		<pubDate>Mon, 31 May 2010 21:31:06 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[digital cameras]]></category>
		<category><![CDATA[Photo gallery]]></category>

		<guid isPermaLink="false">http://www.ashchuan.com/blog/?p=954</guid>
		<description><![CDATA[These days most of us own at least one digital camera, whether it is a point and click or a more sophisticated Digital SLR. If you own a digital camera, the next most obvious thing to do after taking wonderful photos is to upload them somewhere. But where? How should you decide? Should you just [...]]]></description>
			<content:encoded><![CDATA[<p>These days most of us own at least one digital camera, whether it is a point and click or a more sophisticated Digital SLR.  If you own a digital camera, the next most obvious thing to do after taking wonderful photos is to upload them somewhere.  But where?  How should you decide?  Should you just follow everyone else and create an account with Flickr, Picasa or other less popular photo sharing sites?  Some of us will just upload the photos onto Facebook.  After all sharing your holiday photos, creative photos, etc. is a social activity we humans do.</p>
<p>There are some of us who may decide that we want to be more geeky and install a copy of an open source photo gallery software on our self-hosted account and have full control of administering and designing the layout.  Whether you&#8217;re the former or the latter, you will have to make a decision.<br />
<span id="more-954"></span><br />
So what are the benefits of using Flickr, Picasa and the likes as our photo sharing platform?</p>
<p>The benefits of using Flickr, Facebook and other photo social networking sites are:<br />
1.  You don&#8217;t have to worry about patching the software when there are new releases.<br />
2.  You don&#8217;t have to worry about doing a backup in case anything were to go wrong.<br />
3.  You don&#8217;t have to worry about SEO, i.e. making your photo site friendly to the Google crawler.<br />
4.  You instantly announce to your friends that you&#8217;ve just uploaded beautiful photos.  That is taken care of by the photo sharing software.<br />
5.  Essentially you have peace of mind and don&#8217;t need to hire a webmaster or an I.T. person to get things started.</p>
<p><!-- adsense --></p>
<p>But&#8230;some times we want to make our photo sharing web site unique.  Some times we want to have our own design and theme.  Some times we want our own domain name, like www.beautifulphotos.com.  Or we want to start our own photo sharing social networking site.  So we go and research and see what open source software is available and then we install it on the hosting site that we own.</p>
<p>How do we decide which photo gallery software to use?</p>
<p>Let&#8217;s list a few of the photo gallery software that are commonly used.</p>
<p>1.  ZenPhoto<br />
2.  Gallery<br />
3.  Coppermine<br />
4.  Pixelpost<br />
5.  Piwigo<br />
6.  4images</p>
<p>Now we are spoilt for choice.  How should we decide?  In Part 2 of this blog post I will talk more about the software that I have listed above and help you decide.  I will share with you my personal favourite too.</p>
<img src="http://feeds.feedburner.com/~r/Ashchuan/~4/p0CLeTSMh6E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ashchuan.com/blog/2010/05/31/which-photo-gallery-software-should-i-use-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ashchuan.com/blog/2010/05/31/which-photo-gallery-software-should-i-use-part-1/</feedburner:origLink></item>
		<item>
		<title>Quick guide on how to take screenshots on a Mac</title>
		<link>http://feedproxy.google.com/~r/Ashchuan/~3/SKvfWlzNmpk/</link>
		<comments>http://www.ashchuan.com/blog/2010/01/06/quick-guide-on-how-to-take-screenshots-on-a-mac/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 16:16:07 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[screenshot]]></category>

		<guid isPermaLink="false">http://www.ashchuan.com/blog/?p=943</guid>
		<description><![CDATA[&#160;&#160; I have been using a PC for so many years that I sometimes forget the command keys to use to take a screenshot when I use my Mac. Since I need to remind myself, I thought it might be a better idea to blog a quick guide so that my readers can refer to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ashchuan.com/blog/wp-content/uploads/2010/01/keyboards_1.JPG" alt="keyboards_1" title="keyboards_1" class="aligncenter size-full wp-image-949" /></p>
<p>&nbsp;&nbsp;<br />
I have been using a PC for so many years that I sometimes forget the command keys to use to take a screenshot when I use my Mac.  Since I need to remind myself, I thought it might be a better idea to blog a quick guide so that my readers can refer to it when needed.</p>
<p>The main keys to use on your Mac keyboard is the Command &#038; Shift key.  There are three keys to remember when taking a screenshot.  The Command, Shift &#038; 3,4 (numeric keys).</p>
<p><span id="more-943"></span></p>
<p><strong>Shortcuts:</strong></p>
<p><strong>Command-Shift-3:</strong><br />
Take a screenshot of the screen, and save it as a file on the desktop</p>
<p><strong>Command-Shift-4,</strong><br />
then select an area: Take a screenshot of an area and save it as a file on the desktop</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2635249250939971";
/* 300x250, created 10/02/08 */
google_ad_slot = "1990815382";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p><strong>Command-Shift-4,</strong><br />
then space, then click a window: Take a screenshot of a window and save it as a file on the desktop</p>
<p><strong>Command-Control-Shift-3: </strong><br />
Take a screenshot of the screen, and save it to the clipboard</p>
<p><strong>Command-Control-Shift-4,</strong><br />
then select an area: Take a screenshot of an area and save it to the clipboard</p>
<p><strong>Command-Control-Shift-4,</strong><br />
then space, then click a window: Take a screenshot of a window and save it to the clipboard</p>
<p>In Leopard, the following keys can be held down while selecting an area (via Command-Shift-4 or Command-Control-Shift-4)</p>
<p><i>Thank you to macrumors.com for the tip.</i></p>
<img src="http://feeds.feedburner.com/~r/Ashchuan/~4/SKvfWlzNmpk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ashchuan.com/blog/2010/01/06/quick-guide-on-how-to-take-screenshots-on-a-mac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.ashchuan.com/blog/2010/01/06/quick-guide-on-how-to-take-screenshots-on-a-mac/</feedburner:origLink></item>
		<item>
		<title>SQL xp_findnextmsg and xp_readmail</title>
		<link>http://feedproxy.google.com/~r/Ashchuan/~3/d78kArQTCps/</link>
		<comments>http://www.ashchuan.com/blog/2009/11/15/sql-xp_findnextmsg-and-xp_readmail/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 22:48:24 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[SQL Mail]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[xp_findnextmsg]]></category>
		<category><![CDATA[xp_readmail]]></category>

		<guid isPermaLink="false">http://www.ashchuan.com/blog/?p=936</guid>
		<description><![CDATA[If you use SQL mail, you can read the messages in the SQL inbox stack and do stuff with them. Recently I had to use SQL scripting to find messages in the SQL inbox, read the message, determine if it is a text or html email, then add the message to a table in the [...]]]></description>
			<content:encoded><![CDATA[<p>If you use SQL mail, you can read the messages in the SQL inbox stack and do stuff with them.  Recently I had to use SQL scripting to find messages in the SQL inbox, read the message, determine if it is a text or html email, then add the message to a table in the database.</p>
<p>This can be easily achieved using the xp_findnextmsg and xp_readmail procedures.  To strip the html tags from the email, I used a UDF (User Defined Function) written by the SQL guru of http://blog.sqlauthority.com.  Kudos to him for sharing the function.<br />
<span id="more-936"></span><br />
All SQL examples are shown below.</p>
<p>The xp_readmail example is written for SQL Server 2000, where there is a limit of varchar(8000) for data type varchar.  In SQL Server 2005, you can use varchar(max) which extends the limit.  You will see in my example I split email messages that are bigger than varchar(8000) when using xp_readmail.<br />
<!--adsense--><br />
<img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/07/readmail.PNG" alt="readmail" title="readmail" class="alignnone size-full wp-image-937" /></p>
<p><img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/07/readmail2.PNG" alt="readmail2" title="readmail2" class="alignnone size-full wp-image-938" /></p>
<img src="http://feeds.feedburner.com/~r/Ashchuan/~4/d78kArQTCps" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ashchuan.com/blog/2009/11/15/sql-xp_findnextmsg-and-xp_readmail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ashchuan.com/blog/2009/11/15/sql-xp_findnextmsg-and-xp_readmail/</feedburner:origLink></item>
		<item>
		<title>31 Days to Build a Better Blog challenge!</title>
		<link>http://feedproxy.google.com/~r/Ashchuan/~3/jZgub2fi2qg/</link>
		<comments>http://www.ashchuan.com/blog/2009/05/13/31-days-to-build-a-better-blog-challenge/#comments</comments>
		<pubDate>Wed, 13 May 2009 08:52:49 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[Blogging challenge]]></category>
		<category><![CDATA[Problogger]]></category>

		<guid isPermaLink="false">http://www.ashchuan.com/blog/?p=925</guid>
		<description><![CDATA[I recently completed the 31 Days to Build a Better Blog challenge run by Darren Rowse, the problogger (@problogger). I took away a lot of ideas that I will use to improve this blog and other blogs that I will create in the future. What I thought of the challenge A lot of what was [...]]]></description>
			<content:encoded><![CDATA[<p>I recently completed the 31 Days to Build a Better Blog challenge run by Darren Rowse, the <a href="http://www.problogger.net" target="_blank">problogger</a> (<a href="http://twitter.com/problogger" target="_blank">@problogger</a>).  I took away a lot of ideas that I will use to improve this blog and other blogs that I will create in the future.  </p>
<p><strong>What I thought of the challenge</strong><br />
A lot of what was said in the daily challenges are great reminder.  I know what I ought to do at the back of my mind but to actually put them into action requires reminding for my part.  For example when I created my blog, it was an experiment.  It&#8217;s coming to two years now and I still keep some blogging bad habits and the challenges helped me remind myself that I should do things differently to grow my blog.  Another example, It didn&#8217;t occur to me to  think of an elevator pitch until I started the challenge.  I was concentrating more on the content rather than telling others about my blog.</p>
<p>Reading the exchanges of comments during the daily challenges also gave me a chance to learn from other bloggers and realize that I am not the only one in the blogsphere facing the  problems growing my blog.  There are others out there too asking the same questions and facing similar challenges. </p>
<p>For those of you who missed the challenge, here is a summary of what was covered in the 31 days.</p>
<p>For your information, this challenge is not for beginners in blogging.  It is more beneficial for bloggers who already have a blog and have been blogging for awhile.<br />
<span id="more-925"></span><br />
Day #1: 31 Day Challenge &#8211; Create an Elevator Pitch<br />
Day #2: 31 Day Challenge &#8211; Write a List Post<br />
Day #3: 31 Day Challenge &#8211; Promote a Blog Post<br />
Day #4: 31 Day Challenge &#8211; Analyze a Successful Blog<br />
Day #5: 31 Day Challenge &#8211; Email a Blog Reader<br />
Day #6: 31 Day Challenge &#8211; Learn from These 10 Expert Bloggers<br />
Day #7: 31 Day Challenge &#8211; Link Link Link<br />
Day #8: 31 Day Challenge &#8211; Interlink Some Old Posts<br />
Day #9: 31 Day Challenge &#8211; Promote Your Blog with Forums<br />
Day #10: 31 Day Challenge &#8211; Set up &#8216;Alerts&#8217; for Your Blog<br />
Day #11: 31 Day Challenge &#8211; Come up with 10 Post Ideas<br />
Day #12: 31 Day Challenge &#8211; Editorial Calendars<br />
Day #13: 31 Day Challenge &#8211; Visit a Mall (yes, you heard me right)<br />
Day #14: 31 Day Challenge &#8211; Update a Key Page or Post<br />
Day #15: 31 Day Challenge &#8211; Find a Blog Buddy<br />
Day #16: 31DBBB &#8211; Solve a Problem<br />
Day #17: 31DBBB &#8211; First Time Reader Audit<br />
Day #18: 31DBBB &#8211; Create a Sneeze Page for Your Blog<br />
Day #19: 31 Day Challenge &#8211; Write an Opinion Post<br />
Day #20: 31 Days to Build a Better Blog &#8211; Leave Comments on Other Blogs<br />
Day #21: 31 Days to Build a Better Blog &#8211; Breathe Life into an Old Post<br />
Day #22: 31DBBB &#8211; Make a Reader Famous!<br />
Day #23: 31DBBB &#8211; Write a Call to Action<br />
Day #24: 31DBBB &#8211; Read a Magazine and Improve Your Blog<br />
Day #25: 31DBBB &#8211; Ask Your Readers a Question<br />
Day #26: 31DBBB &#8211; Improve Someone Else&#8217;s Blog<br />
Day #27: 31DBBB &#8211; Hunt for Dead Links<br />
Day #28: 31DBBB &#8211; Write a Review Post<br />
Day #29: 31DBBB &#8211; Develop a Plan to Build Your Readership<br />
Day #30: 31DBBB &#8211; Analyze the Stats on Your Blog<br />
Day #31: 31DBBB &#8211; Plan Your Next Steps</p>
<p><!--adsense--></p>
<p>Link to 31DBBB: <a href="http://www.problogger.net" target="_blank">www.problogger.net</a></p>
<img src="http://feeds.feedburner.com/~r/Ashchuan/~4/jZgub2fi2qg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ashchuan.com/blog/2009/05/13/31-days-to-build-a-better-blog-challenge/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://www.ashchuan.com/blog/2009/05/13/31-days-to-build-a-better-blog-challenge/</feedburner:origLink></item>
		<item>
		<title>What is Joomla’s Community Builder extension?</title>
		<link>http://feedproxy.google.com/~r/Ashchuan/~3/MMiCO4Dwoh8/</link>
		<comments>http://www.ashchuan.com/blog/2009/05/12/what-is-joomla%e2%80%99s-community-builder-extension/#comments</comments>
		<pubDate>Tue, 12 May 2009 08:00:15 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Community Builder]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://www.ashchuan.com/blog/?p=871</guid>
		<description><![CDATA[This is the 2nd part to my post entitled Getting Joomla excited! In this post I will write about the popular Community Builder extension and how to install the extension. In Part 3 I will look at implementation of the extension and how to add Community Builder plug-ins and finally I will also showcase what [...]]]></description>
			<content:encoded><![CDATA[<p>This is the 2nd part to my post entitled <a href="http://www.ashchuan.com/blog/2009/03/21/getting-joomla-excited/">Getting Joomla excited!</a>  In this post I will write about the popular <strong>Community Builder extension</strong> and how to install the extension.  </p>
<p>In Part 3 I will look at implementation of the extension and how to add Community Builder plug-ins and finally I will also showcase what I have done on my website with the Community Builder extension.  All of this was done without a line of extra coding so Joomla enthusiasts can implement the Community Builder extension without having to be a coder.</p>
<p><strong>The Community Builder extension<br />
</strong><br />
The Community Builder extension is the brainchild of the guys at <a href="http://www.joomlapolis.com">www.joomlapolis.com</a>.  It extends the capability of Joomla&#8217;s membership module and transforms the Joomla CMS into a full-fledged membership and community site.  If you are using Joomla CMS without the Community Builder extension and try to build a community website or portal, you will experience a lot of limitations.</p>
<p><span id="more-871"></span></p>
<p><strong>What Community Builder provides</strong><br />
1. Better User Management module.<br />
2. Ability to add additional user fields which is not possible using Joomla&#8217;s standard User Management module.<br />
3. Ability to add and manage tabs.<br />
4. Supports various plugins written for the Community Builder extension.<br />
5. List management<br />
6. Utility to synchronize the Joomla/Mambo User table with the Joomla/Mambo Community Builder User Table and perform a series of tests on the Community Builder database, user fields and user database.</p>
<div align="center">
<img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/cb1.jpg" alt="cb1" title="cb1" class="alignnone size-full wp-image-884" /></div>
<p><!--adsense--></p>
<p><strong>Community Builder is not a free extension</strong><br />
For the goodies that Community Builder will bring to your Joomla website, there is a fee to pay to download, install and implement Community Builder.  I paid something like 35 EUR for the download and if you want to obtain the documentation, you will have to pay more.  They call it subscriptions.  Here is the link <a href="http://www.joomlapolis.com">www.joomlapolis.com</a></p>
<p><strong>Installing Community Builder extension</strong></p>
<p>Summary of Installation and Initial Setup Steps:<br />
1.  Install com_comprofiler component<br />
2.  Install mod_cblogin module<br />
3.  Install mod_comprofilerModerator module<br />
4.  Install mod_comprofilerOnline module<br />
5.  Enable CB Login, CB Workflows and CB Online modules<br />
6.  Select Name Style parameter from Community Builder Configuration and Save.  Run Community Builder Synchronize Users tool.<br />
7.  Disable Joomla/Mambo login modules<br />
8.  Add new Public menu item to Community Builder component<br />
9.  Add new User List menu item<br />
10. Run Load Sample Data tool (optional)<br />
11. Adjust Community Builder and Joomla/Mambo CMS settings to allow registrations only through Community Builder<br />
12. Done!</p>
<p>In this part I will cover step 1 through 4.  The rest of the other steps will be covered in part 3.</p>
<p><strong>1.  Install com_comprofiler component</strong><br />
a) To install com_comprofiler.zip, click on <em>Extensions > Install/Uninstall </em>from the Joomla Administration menu.</p>
<div align="center">
<img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/cb2.jpg" alt="cb2" title="cb2" class="alignnone size-full wp-image-892" /></div>
<p>c) Install &#8211; you can either upload the package (zip file) and install or copy the unzipped files to the tmp folder to install or install from a remote URL.</p>
<div align="center">
<img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/cb3.jpg" alt="cb3" title="cb3" class="alignnone size-full wp-image-893" /></div>
<p>As the install file size is large, it will take time to install com_comprofiler.zip.</p>
<p>My suggestion is to unzip the file and ftp the files to the tmp directory and install it using the second option described above.</p>
<p><strong>2.  Install mod_cblogin module</strong></p>
<p>a) To install mod_cblogin.zip, click on <em>Extensions > Install/Uninstall </em>from the Joomla Administration menu.</p>
<div align="center">
<img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/cb2.jpg" alt="cb2" title="cb2" class="alignnone size-full wp-image-892" /></div>
<p>c) Install &#8211; you can either upload the package (zip file) and install or copy the unzipped files to the tmp folder to install or install from a remote URL.</p>
<div align="center">
<img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/cb3.jpg" alt="cb3" title="cb3" class="alignnone size-full wp-image-893" /></div>
<p><strong>IMPORTANT</strong> if you use the core Joomla or Mambo login module the users will become out of sync with community builder.  I will show you in part 3 how to synchronize the users to avoid this problem from happening.</p>
<p><strong>3.  Install mod_comprofilerModerator module</strong><br />
a) Install mod_comprofilerModerator.zip as a module<br />
b) This is an optional module and it is only needed if using moderator features but I suggest that you continue to install this in case you wish to use the moderator features in the future.</p>
<p>You install the mod_comprofilerModerator module exactly the same way as step 1 and step 2.</p>
<p><strong>4.  Install mod_comprofilerOnline module</strong></p>
<p>a) Install mod_comprofilerOnline.zip as a module.<br />
b) This is an optional module which displays list of online users.  I suggest you proceed to install this module.</p>
<p>You install the mod_comprofilerOnline module exactly the same way as step 1, step 2 and step 3.</p>
<p><strong>Summary of Part 2</strong><br />
In this part, I have written about the Community Builder extension, what it is and what it can do to enhance Joomla as a membership system.  I have also covered the installation of Community Builder extension.</p>
<p>In part 3, I will go through step 5 through to step 12 and enabling Community Builder plugins.</p>
<p>If you missed Part 1, you can read it here &#8211; <a href="http://www.ashchuan.com/blog/2009/03/21/getting-joomla-excited/">Getting Joomla excited!</a></p>
<img src="http://feeds.feedburner.com/~r/Ashchuan/~4/MMiCO4Dwoh8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ashchuan.com/blog/2009/05/12/what-is-joomla%e2%80%99s-community-builder-extension/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.ashchuan.com/blog/2009/05/12/what-is-joomla%e2%80%99s-community-builder-extension/</feedburner:origLink></item>
		<item>
		<title>Listen to your iPod while you drive</title>
		<link>http://feedproxy.google.com/~r/Ashchuan/~3/tDs_OwlPInU/</link>
		<comments>http://www.ashchuan.com/blog/2009/05/11/listen-to-your-ipod-while-you-drive/#comments</comments>
		<pubDate>Mon, 11 May 2009 18:00:17 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Ideas]]></category>
		<category><![CDATA[gadget]]></category>
		<category><![CDATA[Belkin]]></category>
		<category><![CDATA[FM Transmitter]]></category>
		<category><![CDATA[iPod Touch]]></category>

		<guid isPermaLink="false">http://www.ashchuan.com/blog/?p=807</guid>
		<description><![CDATA[I&#8217;ve been able to save hours of reading time by listening to audio books while I drive to work. This is made possible by hooking up my iPod Touch to a FM Transmitter and when tuned to an unused FM frequency, you can listen to your music or audio books through your car stereo system. [...]]]></description>
			<content:encoded><![CDATA[<div align="center"><img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/belkin.jpg" alt="belkin" title="belkin" class="alignnone size-full wp-image-877" /></div>
<p>I&#8217;ve been able to save hours of reading time by listening to audio books while I drive to work.  This is made possible by hooking up my iPod Touch to a FM Transmitter and when tuned to an unused FM frequency, you can listen to your music or audio books through your car stereo system.  This is not new technology but it was previously illegal in the United Kingdom to use a FM Transmitter in your car.  Since the law changed, I finally got around to buying a FM Transmitter to use in my car.</p>
<p>There are many brands of FM Transmitter you can buy from high street shops or even online and the prices range from cheap to expensive.  I bought mine from Amazon.co.uk and I decided on the Belkin iPod TuneBase FM Transmitter with ClearScan.  I decided on Belkin with ClearScan because it allowed me to charge my iPod Touch while I listened to my audio books and ClearScan made it easy to tune the gadget.<br />
<span id="more-807"></span><br />
<!--adsense--></p>
<p><strong>What is ClearScan?</strong></p>
<p>The ClearScan technology will automatically scan to find the best FM frequency and it eliminates the static.  With ClearScan you can enjoy listening to music and audio books on your iPod static-free in your car.  I know how annoying it can be to listen to your favourite music while you endure all the hissing static.  ClearScan technology claimed to be best at auto scanning and deliver static-free music.  I tried it and I agree with Belkin&#8217;s claim.</p>
<p><strong>TuneBase presets.</strong><br />
Once you find a clear station, you can set it to one of two presets on the TuneBase. This is especially useful around your local area and areas that you frequent, because you can quickly return to these stations at the touch of a button. </p>
<p><strong>Other plus points I like</strong><br />
1.  The Belkin comes with a flexible steel-neck mount and a swivel cradle which allows you to position the iPod for optimal viewing and accessibility.<br />
2. Supports various generations and types of iPod.<br />
3.  The TuneBase built-in PRO setting optimizes the audio and provides a volume boost for the best sound possible.<br />
4. Large display on the from to tell you exactly what frequency the music is being broadcast.<br />
5. Works a treat as an iPod charger which you can easily plug into your car cigarette lighter.<br />
6.  The TuneBase also has a line-out feature that lets you use it with car-stereo inputs or cassette adapters. </p>
<p><strong>Any minus points?</strong><br />
Yes, only one&#8230;the price.  It costs £40 from Amazon.co.uk but if you buy it from an Apple Store or any High Street shops, you could be forking out between £60 &#8211; £70.</p>
<p><strong>Would I still recommend Belkin iPod TuneBase FM Transmitter with ClearScan to the readers?</strong><br />
It&#8217;s a definite Yes.  If you look beyond the price, you will appreciate the technology.  You get what you pay for and in the case of this gadget, you will not be disappointed.</p>
<img src="http://feeds.feedburner.com/~r/Ashchuan/~4/tDs_OwlPInU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ashchuan.com/blog/2009/05/11/listen-to-your-ipod-while-you-drive/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.ashchuan.com/blog/2009/05/11/listen-to-your-ipod-while-you-drive/</feedburner:origLink></item>
		<item>
		<title>Twitter Weekly Updates for 2009-05-03</title>
		<link>http://feedproxy.google.com/~r/Ashchuan/~3/hvG6nJUW3k8/</link>
		<comments>http://www.ashchuan.com/blog/2009/05/03/twitter-weekly-updates-for-2009-05-03/#comments</comments>
		<pubDate>Sun, 03 May 2009 01:00:00 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Tweets]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.ashchuan.com/blog/2009/05/03/twitter-weekly-updates-for-2009-05-03/</guid>
		<description><![CDATA[I discovered a new Malaysian cafe had opened beside my dentist so I decided to check it out. Food was good but not excellent. 3/5 # Just a thought-could you live without yr mobile phone. I probably couldn&#8217;t and shouldn&#8217;t. Alright I&#8217;ll look for a new mobile 2mrow # It&#8217;s almost 1am in London and [...]]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>I discovered a new Malaysian cafe had opened beside my dentist so I decided to check it out. Food was good but not excellent. 3/5 <a href="http://twitter.com/ashchuan/statuses/1682612162">#</a></li>
<li>Just a thought-could you live without yr mobile phone. I probably couldn&#8217;t and shouldn&#8217;t. Alright I&#8217;ll look for a new mobile 2mrow <a href="http://twitter.com/ashchuan/statuses/1682592346">#</a></li>
<li>It&#8217;s almost 1am in London and I am reading about World of Goo, a physics based puzzle and construction game. <a href="http://twitter.com/ashchuan/statuses/1682572124">#</a></li>
<li>Implement Ajax CollapsiblePanelExtender in ASP.NET page <a href="http://ff.im/2x80d" rel="nofollow">http://ff.im/2x80d</a> <a href="http://twitter.com/ashchuan/statuses/1682399487">#</a></li>
<li>After some retail therapy and feeding my tummy, it&#8217;s time to get down to some serious work and get started with my assignment. <a href="http://twitter.com/ashchuan/statuses/1680731856">#</a></li>
<li>Sigh my mobile has decided to pack. Time to look for a replacement. <a href="http://twitter.com/ashchuan/statuses/1676808933">#</a></li>
<li>RT @cheth: TECHCRUNCH.COM &#8211; Google Rents Goats To Replace Lawnmowers (I’m Not Kidding) <a href="http://bit.ly/LtCzb" rel="nofollow">http://bit.ly/LtCzb</a> <a href="http://twitter.com/ashchuan/statuses/1672236496">#</a></li>
<li>Installing yet another instance of SQL 2005.  This time on a different server. <a href="http://twitter.com/ashchuan/statuses/1667819243">#</a></li>
<li>Dutch parade attack driver dies <a href="http://news.bbc.co.uk/1/hi/world/europe/8028317.stm" rel="nofollow">http://news.bbc.co.uk/1/hi/world/europe/8028317.stm</a> <a href="http://twitter.com/ashchuan/statuses/1667816826">#</a></li>
<li>&#8220;Bankers have made an astonishing mess of the financial system,&#8221; <a href="http://news.bbc.co.uk/1/hi/business/8026589.stm" rel="nofollow">http://news.bbc.co.uk/1/hi/business/8026589.stm</a> <a href="http://twitter.com/ashchuan/statuses/1667813958">#</a></li>
<li>Mexico: five-day shutdown of parts of its economy to slow the spread of swine flu. <a href="http://news.bbc.co.uk/1/hi/world/americas/8028169.stm" rel="nofollow">http://news.bbc.co.uk/1/hi/world/americas/8028169.stm</a> <a href="http://twitter.com/ashchuan/statuses/1667808671">#</a></li>
<li>On phone with folks from the German &amp; French office.Interesting to know they get May day off and we don&#8217;t. We get Mon. as Bank hol. Instead <a href="http://twitter.com/ashchuan/statuses/1660972898">#</a></li>
<li>@<a href="http://twitter.com/dragonblogger">dragonblogger</a> wolf <a href="http://twitter.com/dragonblogger/statuses/1659760388">in reply to dragonblogger</a> <a href="http://twitter.com/ashchuan/statuses/1660909608">#</a></li>
<li>Setting up .NET open source Wiki &#8211; ScrewTurn Wiki to document current project. <a href="http://www.screwturn.eu/Download.ashx" rel="nofollow">http://www.screwturn.eu/Download.ashx</a> <a href="http://twitter.com/ashchuan/statuses/1660251689">#</a></li>
<li>computational knowledge engine web tool as important as Google <a href="http://news.bbc.co.uk/1/hi/technology/8026331.stm" rel="nofollow">http://news.bbc.co.uk/1/hi/technology/8026331.stm</a> <a href="http://twitter.com/ashchuan/statuses/1660034977">#</a></li>
<li>.NET &#8211; 6 Tips for Working with the ASP.NET AJAX Accordion Control <a href="http://ff.im/2rTQC" rel="nofollow">http://ff.im/2rTQC</a> <a href="http://twitter.com/ashchuan/statuses/1649992592">#</a></li>
<li>AJAX Control Toolkit Tutorials : The Official Microsoft ASP.NET Site <a href="http://ff.im/2rR7I" rel="nofollow">http://ff.im/2rR7I</a> <a href="http://twitter.com/ashchuan/statuses/1649729662">#</a></li>
<li>Introducing the RoundedCorner Web Control <a href="http://ff.im/2rQb6" rel="nofollow">http://ff.im/2rQb6</a> <a href="http://twitter.com/ashchuan/statuses/1649641647">#</a></li>
<li>Decided. Having a hot chocolate in McD&#8217;s <a href="http://twitter.com/ashchuan/statuses/1641108070">#</a></li>
<li>Still contemplating where to go for the next hour. In Tesco I can read the magazines. At McD&#8217;s I can use the wifi. Hmmmm&#8230;. Decisions&#8230;.. <a href="http://twitter.com/ashchuan/statuses/1640954576">#</a></li>
<li>Corporate web redesign. Waiting to see proposal from design company and how we will implement it in DNN. <a href="http://twitter.com/ashchuan/statuses/1640935513">#</a></li>
<li>Possible swine flu case in Isleworth, London. That is just a few miles away. <a href="http://twitter.com/ashchuan/statuses/1640913914">#</a></li>
<li>Another hour before I can pick up my friend from the station. What should I do? Go to Tesco or McD&#8217;s for a cuppa? <a href="http://twitter.com/ashchuan/statuses/1640892776">#</a></li>
<li>Just integrated AdSense and Analytics. <a href="http://twitter.com/ashchuan/statuses/1640350465">#</a></li>
<li>How do I backup my MS SQL Server 2005 database using Management Studio? <a href="http://ff.im/2qcQB" rel="nofollow">http://ff.im/2qcQB</a> <a href="http://twitter.com/ashchuan/statuses/1639165312">#</a></li>
<li>Any recommendation of a good hotel in Bali? <a href="http://twitter.com/ashchuan/statuses/1631714340">#</a></li>
<li>It&#8217;s confirmed. The swine flu has reached our shores. 2 tested positive in Scotland. <a href="http://twitter.com/ashchuan/statuses/1631700175">#</a></li>
<li>RT @tonysteward: Just Read : ChurchTweets.com &#8211; Church and Ministry Twitter Directory : <a href="http://churchcrunch.com/?p=4931" rel="nofollow">http://churchcrunch.com/?p=4931</a> // <a href="http://twitter.com/ashchuan/statuses/1631615619">#</a></li>
<li>@<a href="http://twitter.com/ravisagar">ravisagar</a> Lucky you.  It is only lunch time here. <a href="http://twitter.com/ravisagar/statuses/1628093738">in reply to ravisagar</a> <a href="http://twitter.com/ashchuan/statuses/1628244693">#</a></li>
<li>Comm. firms asked to record all internet contacts between people. New UK police surveillance tactics. <a href="http://tinyurl.com/d4qmrf" rel="nofollow">http://tinyurl.com/d4qmrf</a> <a href="http://twitter.com/ashchuan/statuses/1628239032">#</a></li>
<li>RT @<a href="http://twitter.com/tweetmeme">tweetmeme</a> The Art of Writing Great Twitter Headlines — Copyblogger <a href="http://bit.ly/rPWVh" rel="nofollow">http://bit.ly/rPWVh</a> <a href="http://twitter.com/ashchuan/statuses/1628191450">#</a></li>
<li>In the midst of planning my holiday to Kuala Lumpur and Bali in May. Still looking for a hotel in Bali. <a href="http://twitter.com/ashchuan/statuses/1623570006">#</a></li>
<li>Pirate Bay judge belong to copyright groupshttp://www.wired.co.uk/news/archive/2009-04/24/pirate-bay-judge-belonged-to-copyright-group.aspx <a href="http://twitter.com/ashchuan/statuses/1623556766">#</a></li>
<li>@<a href="http://twitter.com/problogger">problogger</a> happy birthday <a href="http://twitter.com/problogger/statuses/1623367710">in reply to problogger</a> <a href="http://twitter.com/ashchuan/statuses/1623390249">#</a></li>
<li>C# quick example of handling Infinity and NaN <a href="http://ff.im/2nBiW" rel="nofollow">http://ff.im/2nBiW</a> <a href="http://twitter.com/ashchuan/statuses/1622627682">#</a></li>
<li>It&#8217;s been a great Sunday. Learnt to make sushi and enjoyed all the Japanese food. <a href="http://twitter.com/ashchuan/statuses/1622348206">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a>.</p>
<img src="http://feeds.feedburner.com/~r/Ashchuan/~4/hvG6nJUW3k8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ashchuan.com/blog/2009/05/03/twitter-weekly-updates-for-2009-05-03/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ashchuan.com/blog/2009/05/03/twitter-weekly-updates-for-2009-05-03/</feedburner:origLink></item>
		<item>
		<title>Implement Ajax CollapsiblePanelExtender in ASP.NET page</title>
		<link>http://feedproxy.google.com/~r/Ashchuan/~3/CAYEu68TCq0/</link>
		<comments>http://www.ashchuan.com/blog/2009/05/02/implement-ajax-collapsiblepanelextender-in-aspnet-page/#comments</comments>
		<pubDate>Sat, 02 May 2009 23:18:25 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[CollapsiblePanelExtender]]></category>

		<guid isPermaLink="false">http://www.ashchuan.com/blog/?p=848</guid>
		<description><![CDATA[It has never been easier to add Ajax controls to ASP.NET using Visual Studio. There are two approaches to implementing Ajax controls in an ASP.NET page. The first approach is to add the control and its properties to the aspx page. The second approach is to add the control to the aspx page and then [...]]]></description>
			<content:encoded><![CDATA[<p>It has never been easier to add Ajax controls to ASP.NET using Visual Studio.  There are two approaches to implementing Ajax controls in an ASP.NET page.  The first approach is to add the control and its properties to the aspx page.  The second approach is to add the control to the aspx page and then write the code in the code-behind page.  The example which I am going to show you will use the first approach and the Ajax control that I will implement is the <strong>CollapsiblePanelExtender</strong>.  </p>
<p>Here is an example to show you what the CollapsiblePanelExtender will do in your browser.  The CollapsiblePanelExtender will allow you to expand the panel on an ASP.NET page to display its content by clicking the control.  It will not do a server-side post back and the page does not refresh in the browser.  Alternatively you can collapse or hide the content by clicking on the expanded control.<br />
<span id="more-848"></span><br />
<strong>A collapse control</strong></p>
<div align="center">
<a href="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/aj6.png" rel="lightbox" title="CollapsiblePanelExtender example"><img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/aj6_300_127.png" width="300" height="127" alt="Example" /></a>
</div>
<p><strong>An expanded control<br />
</strong></p>
<div align="center">
<a href="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/aj7.png" rel="lightbox" title="CollapsiblePanelExtender example"><img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/aj7_300_128.png" width="300" height="128" alt="Example" /></a>
</div>
<p><strong>Here&#8217;s how we create it in ASP.NET<br />
</strong></p>
<p>1. Add the Ajax <strong>ScriptManager</strong> and <strong>CollapsiblePanelExtender</strong> controls to the aspx page.  You simply drag and drop the controls onto the aspx page in design mode.</p>
<div align="center">
<img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/aj2.png" alt="aj2" title="aj2" class="alignnone size-full wp-image-850" /></div>
<p><strong>Design mode view in the aspx page.<br />
</strong></p>
<div align="center">
<a href="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/aj5.png" rel="lightbox" title="CollapsiblePanelExtender example"><img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/aj5_300_82.png" width="300" height="82" alt="Example" /></a>
</div>
<p><!--adsense--></p>
<p><strong>Code view in the aspx page<br />
</strong></p>
<div align="center">
<a href="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/aj4.png" rel="lightbox" title="CollapsiblePanelExtender example"><img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/aj4_300_162.png" width="300" height="162" alt="Example" /></a>
</div>
<p>You will notice that the <strong>TargetControlID</strong>, <strong>CollapseControlID</strong> and <strong>ExpandControlID</strong> properties refer to <strong>Panel</strong> controls.  That&#8217;s right, we have to add the <strong>Panel</strong> controls as we haven&#8217;t done that earlier.  You add the Panel control the same way as you added the ScriptManager and CollapsiblePanelExtender.</p>
<div align="center">
<a href="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/aj3.png" rel="lightbox" title="CollapsiblePanelExtender example"><img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/aj3_300_181.png" width="300" height="181" alt="Example" /></a>
</div>
<p>Finally, we have to added the css.  You will notice that the Panel controls that we added reference to a <strong>CssClass=CollapsePanelHeader</strong> and <strong>CssClass=CollapsePanel</strong>.  Add the following at the top of the aspx page between the Head tags.</p>
<div align="center">
<img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/05/aj1.png" alt="aj1" title="aj1" class="alignnone size-full wp-image-849" /></div>
<p><strong>Next step:<br />
</strong><br />
Compile your aspx page in Visual Studio and then run the aspx page.</p>
<img src="http://feeds.feedburner.com/~r/Ashchuan/~4/CAYEu68TCq0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ashchuan.com/blog/2009/05/02/implement-ajax-collapsiblepanelextender-in-aspnet-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ashchuan.com/blog/2009/05/02/implement-ajax-collapsiblepanelextender-in-aspnet-page/</feedburner:origLink></item>
		<item>
		<title>C# quick example of handling Infinity and NaN</title>
		<link>http://feedproxy.google.com/~r/Ashchuan/~3/rOE3x1iuxNk/</link>
		<comments>http://www.ashchuan.com/blog/2009/04/26/c-quick-example-of-handling-infinity-and-nan/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 19:30:16 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[NaN]]></category>

		<guid isPermaLink="false">http://www.ashchuan.com/blog/?p=841</guid>
		<description><![CDATA[In C# programming you may come across instances where you have to compute numbers especially division of numbers which will return a NaN (Not a Number) or Infinity, when dividing by zero. You can use two methods to check if a number is NaN of Infinity. The two methods are IsNaN and IsInfinity. Here are [...]]]></description>
			<content:encoded><![CDATA[<div align="center">
<img src="http://www.ashchuan.com/blog/wp-content/uploads/2009/04/prog.gif" alt="prog" title="prog" class="alignnone size-full wp-image-846" /></div>
<p>In C# programming you may come across instances where you have to compute numbers especially division of numbers which will return a <strong>NaN</strong> (Not a Number) or <strong>Infinity</strong>, when dividing by zero.</p>
<p>You can use two methods to check if a number is NaN of Infinity.  The two methods are <strong>IsNaN</strong> and <strong>IsInfinity</strong>.</p>
<p><strong>Here are the examples:</strong></p>
<p><strong><u>IsNaN</u></strong></p>
<p>if (double.IsNaN(per))<br />
            {<br />
                per = 0.0;<br />
}</p>
<p><strong><u>IsInfinity</u></strong></p>
<p>if (double.IsInfinity(per)) {<br />
                per = 100;<br />
}</p>
<p><!--adsense--></p>
<img src="http://feeds.feedburner.com/~r/Ashchuan/~4/rOE3x1iuxNk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ashchuan.com/blog/2009/04/26/c-quick-example-of-handling-infinity-and-nan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ashchuan.com/blog/2009/04/26/c-quick-example-of-handling-infinity-and-nan/</feedburner:origLink></item>
	</channel>
</rss>
