<?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>Lim Guo Hong &#187; tutorial</title>
	<atom:link href="http://www.limguohong.com/category/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.limguohong.com</link>
	<description>Technology Enthusiast</description>
	<lastBuildDate>Fri, 11 Nov 2011 03:11:33 +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>BingMapsDirectionsTask &#8211; Getting driving / walking directions</title>
		<link>http://www.limguohong.com/2011/10/bingmapsdirectionstask-getting-driving-walking-directions/</link>
		<comments>http://www.limguohong.com/2011/10/bingmapsdirectionstask-getting-driving-walking-directions/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 10:41:04 +0000</pubDate>
		<dc:creator>Guo Hong</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[windows phone 7]]></category>
		<category><![CDATA[bing]]></category>
		<category><![CDATA[bingmapdirectiontasks]]></category>
		<category><![CDATA[direction]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://www.limguohong.com/?p=790</guid>
		<description><![CDATA[I was revisiting my old projects and reflecting on how I could improve on those products. I didn&#8217;t realised that there are so much we can do with the new Windows Phone APIs! I was looking at the MSDN&#8217;s Microsoft.Phone.Tasks Namespace and found out that there is a Bing Maps Direction Task Class now! The [...]]]></description>
			<content:encoded><![CDATA[<p>I was revisiting my old projects and reflecting on how I could improve on those products. I didn&#8217;t realised that there are so much we can do with the new Windows Phone APIs! I was looking at the MSDN&#8217;s <a title="Microsoft.Phone.Tasks" href="http://msdn.microsoft.com/en-us/library/ff428753(v=VS.92).aspx" target="_blank">Microsoft.Phone.Tasks</a> Namespace and found out that there is a <a href="http://msdn.microsoft.com/en-us/library/microsoft.phone.tasks.bingmapsdirectionstask(v=VS.92).aspx">Bing Maps Direction Task Class</a> now!</p>
<p>The first thing I thought of was the Green App project which I did during <a title="Top 12 in codeXtremeApps 2010" href="http://www.limguohong.com/2010/07/top-12-in-codextremeapps-2010/" target="_blank">codeXtremeApps 2010</a> Its a Windows Phone 7 project where we direct our users to the nearest recyling bin around Singapore for them to recyle their waste product. There are more functions which I will not elaborate on here. I will be updating my project/portfolio page soon! I was playing with the Bing Maps Direction Task API just this afternoon. Thought it will be useful to post a tutorial on how to use it. <img src='http://www.limguohong.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Should you face with any problems, feel free to contact me via the Contact Me form or email me at guohong@limguohong.com</p>
<p>Step 1 : Adding using Microsoft.Phone.Tasks and using System.Device.Location into references.</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/10/bmdt1.png"><img class="size-large wp-image-795" title="Bing Maps Directions Task 1 - Adding Reference" src="http://www.limguohong.com/wp-content/uploads/2011/10/bmdt1-1024x442.png" alt="Bing Maps Directions Task 1 - Adding Reference" width="620" height="267" /></a></p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/10/bmdt2.png"><img class="size-full wp-image-791" title="Bing Maps Directions Task 2 - Adding namespace" src="http://www.limguohong.com/wp-content/uploads/2011/10/bmdt2.png" alt="Bing Maps Directions Task 2 - Adding namespace" width="481" height="406" /></a></p>
<p>Step 2 :  Adding the Microsoft.Phone.Tasks and System.Device.Location into the project</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/10/bmdt3.png"><img class="size-full wp-image-792" title="Bing Maps Directions Task 3 - Adding namespace" src="http://www.limguohong.com/wp-content/uploads/2011/10/bmdt3.png" alt="Bing Maps Directions Task 3 - Adding namespace" width="502" height="308" /></a></p>
<p>Step 3 : Initialize a <strong>BingMapsDirectionsTask </strong>and create a start and end <strong>LabeledMapLocation</strong> . Note that start is optional. Should you not provide start location, the API will use the current location by default.</p>
<p>At the end of it, .Show() it and it will show the map.</p>
<blockquote><p>BingMapsDirectionsTask Direction = new BingMapsDirectionsTask();</p>
<p>LabeledMapLocation start = new LabeledMapLocation(&#8220;Hougang Ave 4 919 Singapore , Singapore&#8221;, null);<br />
LabeledMapLocation end = new LabeledMapLocation(&#8220;Paya Lebar Air Base, Singapore&#8221;, null);</p>
<p>Direction.Start = start;<br />
Direction.End = end;</p>
<p>Direction.Show();</p></blockquote>
<p>You can download a usage demostration of the class here. Source code included.</p>
<p><strong>Please note that this is written for WP7.1</strong></p>
<div id="attachment_797" class="wp-caption alignleft" style="width: 174px"><a href="http://www.limguohong.com/wp-content/uploads/2011/10/cap1.png"><img class="size-medium wp-image-797" title="Bing Map Direction Task Demo Source Code Screenshot" src="http://www.limguohong.com/wp-content/uploads/2011/10/cap1-164x300.png" alt="Bing Map Direction Task Demo Source Code Screenshot" width="164" height="300" /></a><p class="wp-caption-text">Bing Map Direction Task Demo Source Code Screenshot</p></div>
<p><iframe style="padding: 0px; width: 98px; height: 115px; background-color: #fcfcfc;" title="Preview" src="https://skydrive.live.com/embedicon.aspx/Blog/Code%20Guide/Windows%20Phone%207/BingMapsDirectionsTaskDemo.zip?cid=29f099c37b76ca59&amp;sc=documents" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe></p>
<p>P.S: These 2 classes caught my attention, when I have some spare time, I will look into if I will be able to use it in my Slime Sweeper 2! <a href="http://msdn.microsoft.com/en-us/library/microsoft.phone.tasks.sharelinktask(v=VS.92).aspx">ShareLinkTask class</a> and <a href="http://msdn.microsoft.com/en-us/library/microsoft.phone.tasks.sharestatustask(v=VS.92).aspx">Share Status Task Class</a>!</p>
<p>If you have any questions, feel free to contact me via the contact form, comment or email me at guohong@limguohong.com</p>
<p>Do check out the <a href="http://www.limguohong.com/tutorials/">tutorial page</a> too!</p>
<div class='wpfblike' style='height: 60px;'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.limguohong.com/2011/10/bingmapsdirectionstask-getting-driving-walking-directions/&amp;layout=default&amp;show_faces=true&amp;width=400&amp;action=like&amp;colorscheme=light&amp;send=false' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:400px;'></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.limguohong.com/2011/10/bingmapsdirectionstask-getting-driving-walking-directions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WCF Completed Event firing more than once</title>
		<link>http://www.limguohong.com/2011/07/wcf-completed-event-firing-more-than-once/</link>
		<comments>http://www.limguohong.com/2011/07/wcf-completed-event-firing-more-than-once/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 15:15:17 +0000</pubDate>
		<dc:creator>Guo Hong</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[completed event again]]></category>
		<category><![CDATA[continue]]></category>
		<category><![CDATA[twice]]></category>
		<category><![CDATA[wcf]]></category>
		<category><![CDATA[WCF Completed Event firing more than onc]]></category>
		<category><![CDATA[web service]]></category>

		<guid isPermaLink="false">http://www.limguohong.com/?p=723</guid>
		<description><![CDATA[The problem situation is stated in the title. =P The &#8220;fix&#8221; to the problem is something real simple. I didn&#8217;t notice it when it happened to me the first time. This post is also posted to remind myself about it. This is an example of a code with the problem. public class WorkingArea{ Server.ServiceClient client [...]]]></description>
			<content:encoded><![CDATA[<p>The problem situation is stated in the title. =P</p>
<p>The &#8220;fix&#8221; to the problem is something real simple. I didn&#8217;t notice it when it happened to me the first time. This post is also posted to remind myself about it.</p>
<p>This is an example of a code with the problem.</p>
<blockquote><p>public class WorkingArea{<br />
Server.ServiceClient client = new Server.ServiceClient();</p>
<p>public WorkingArea()<br />
{<br />
InitializeComponent();<br />
}</p>
<p>private void btnCheck_Click(object sender, RoutedEventArgs e)<br />
{<br />
client.CheckCompleted += new EventHandler(Client_UpdateCompleted);<br />
client.CheckAsync(Value);<br />
}<br />
}</p></blockquote>
<p>This code seems to be working fine. I have a Service which I declare it as client and everytime I click on the button <em>Check</em>, i attach the event handler and call the async method to run it. But wait, what went wrong is this.<br />
&#8220;&#8230;..<strong>everytime I click</strong> on the button <em>Check</em>, <strong>i attach the event handler </strong>and call&#8230;&#8230;.&#8221;</p>
<p>What happen is there will be alot handlers being attached to the client variable as times go by ( with the user clicking the button in our example ). The callback/comepleted event will increasingly  happen with the button click in this example. With abit of moving of that line where you attach the handler. This will solve the problem.<br />
&#8220;client.CheckCompleted += new EventHandler(Client_UpdateCompleted);&#8221;</p>
<p>I will recommend putting this in the constructor, loaded event handler or onNaviagtedTo. This will depends on what is the architecture of the application you are building. </p>
<p>If you have any question, please feel free to contact me at guohong@limguohong.com or use the contact page. Please visit the tutorials page for more tutorials from Microsoft Office to Windows Phone!</p>
<div class='wpfblike' style='height: 60px;'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.limguohong.com/2011/07/wcf-completed-event-firing-more-than-once/&amp;layout=default&amp;show_faces=true&amp;width=400&amp;action=like&amp;colorscheme=light&amp;send=false' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:400px;'></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.limguohong.com/2011/07/wcf-completed-event-firing-more-than-once/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Powerpoint 2010 &#8211; Inserting Offline Video</title>
		<link>http://www.limguohong.com/2011/05/microsoft-powerpoint-2010-inserting-offline-video/</link>
		<comments>http://www.limguohong.com/2011/05/microsoft-powerpoint-2010-inserting-offline-video/#comments</comments>
		<pubDate>Mon, 09 May 2011 04:36:04 +0000</pubDate>
		<dc:creator>Guo Hong</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[accepted video format office 2010]]></category>
		<category><![CDATA[inserting offline videos]]></category>
		<category><![CDATA[inserting videos]]></category>
		<category><![CDATA[microsoft powerpoint 2010]]></category>
		<category><![CDATA[powerpoint]]></category>
		<category><![CDATA[video format office 2010]]></category>

		<guid isPermaLink="false">http://www.limguohong.com/?p=619</guid>
		<description><![CDATA[One of the good things in Microsoft Powerpoint 2010 is the ability to insert offline and online videos into your powerpoint presentation easily. Do look at this if you are wondering how to achieve it. http://office.microsoft.com/en-us/powerpoint-help/embed-in-or-link-to-a-video-from-your-presentation-HA010374729.aspx One of the common questions are what are the different format available, Note Videos in the .mp4, .mov, and [...]]]></description>
			<content:encoded><![CDATA[<p>One of the good things in Microsoft Powerpoint 2010 is the ability to insert offline and online videos into your powerpoint presentation easily. Do look at this if you are wondering how to achieve it.</p>
<p><a href="http://office.microsoft.com/en-us/powerpoint-help/embed-in-or-link-to-a-video-from-your-presentation-HA010374729.aspx">http://office.microsoft.com/en-us/powerpoint-help/embed-in-or-link-to-a-video-from-your-presentation-HA010374729.aspx</a></p>
<p>One of the common questions are what are the different format available,</p>
<blockquote style="width: 540px;"><p>Note   Videos in the .mp4, .mov, and .qt formats can be played in PowerPoint<br />
if the Apple QuickTime player is installed.</p>
<div>
<table>
<tbody>
<tr>
<th><strong>File format</strong></th>
<th><strong>Extension</strong></th>
<th><strong>More information</strong></th>
</tr>
<tr>
<td>Adobe Flash Media</td>
<td>.swf</td>
<td><strong>Flash Video</strong> This file format is generally used to deliver video over the Internet using the Adobe Flash Player.</td>
</tr>
<tr>
<td>Windows Media file</td>
<td>.asf</td>
<td><strong>Advanced Streaming Format</strong> This file format stores synchronized multimedia data and can be used to stream audio and video content, images, and script commands over a network.</td>
</tr>
<tr>
<td>Windows Video file</td>
<td>.avi</td>
<td><strong>Audio Video Interleave</strong> This is a multimedia file format for storing sound and moving pictures in Microsoft Resource Interchange File Format (RIFF) format. It is one of the most common formats because audio or video content that is compressed with a wide variety of codecs (codec: An abbreviation for compressor/decompressor. Software or hardware used to compress and decompress digital media.) can be stored in an .avi file.</td>
</tr>
<tr>
<td>Movie file</td>
<td>.mpg or .mpeg</td>
<td><strong>Moving Picture Experts Group</strong> This is an evolving set of standards for video and audio compression developed by the Moving Picture Experts Group. This file format was designed specifically for use with Video-CD and CD-i media.</td>
</tr>
<tr>
<td>Windows Media Video file</td>
<td>.wmv</td>
<td><strong>Windows Media Video</strong> This file format compresses audio and video by using the Windows Media Video codec (codec: An abbreviation for compressor/decompressor. Software or hardware used to compress and decompress digital media.), a tightly compressed format that requires a minimal amount of storage space on your computer&#8217;s hard disk.</td>
</tr>
</tbody>
</table>
</div>
<p><strong> Note </strong> The third-party products discussed in this article are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding the performance or reliability of<br />
these products.</p></blockquote>
<p>Quoted from <a href="http://office.microsoft.com/en-us/powerpoint-help/compatible-audio-and-video-file-formats-in-powerpoint-2010-HA010336709.aspx">http://office.microsoft.com/en-us/powerpoint-help/compatible-audio-and-video-file-formats-in-powerpoint-2010-HA010336709.aspx</a></p>
<div class='wpfblike' style='height: 60px;'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.limguohong.com/2011/05/microsoft-powerpoint-2010-inserting-offline-video/&amp;layout=default&amp;show_faces=true&amp;width=400&amp;action=like&amp;colorscheme=light&amp;send=false' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:400px;'></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.limguohong.com/2011/05/microsoft-powerpoint-2010-inserting-offline-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Powerpoint 2010 &#8211; Compress Media</title>
		<link>http://www.limguohong.com/2011/05/microsoft-powerpoint-2010-compress-media/</link>
		<comments>http://www.limguohong.com/2011/05/microsoft-powerpoint-2010-compress-media/#comments</comments>
		<pubDate>Fri, 06 May 2011 14:17:41 +0000</pubDate>
		<dc:creator>Guo Hong</dc:creator>
				<category><![CDATA[tutorial]]></category>
		<category><![CDATA[compress media]]></category>
		<category><![CDATA[make smaller]]></category>
		<category><![CDATA[microsoft office]]></category>
		<category><![CDATA[office 2010]]></category>
		<category><![CDATA[powerpoint 2010]]></category>
		<category><![CDATA[sample]]></category>

		<guid isPermaLink="false">http://www.limguohong.com/?p=616</guid>
		<description><![CDATA[One of the issues which people faced is that the powerpoint slides which they constructed is too big and cannot be sent via email. I have screencasted a demonstration on how we can use the Compress Media feature to compress the media. Notice that i cut down the amount of disk space i need. From [...]]]></description>
			<content:encoded><![CDATA[<p>One of the issues which people faced is that the powerpoint slides which they constructed is too big and cannot be sent via email. </p>
<p>I have screencasted a demonstration on how we can use the Compress Media feature to compress the media. Notice that i cut down the amount of disk space i need. From 37.7MB to 9.17MB.<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/ETfulFbTNEg?hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ETfulFbTNEg?hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>You can download the sample here.</p>
<p>http://cid-29f099c37b76ca59.office.live.com/self.aspx/Blog/Office%20Demo/Compress%20Media%20Demonstration.pptx</p>
<p>For more information, please feel free to email me at guohong@limguohong.com or use the Contact Me form to contact me.</p>
<div class='wpfblike' style='height: 60px;'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.limguohong.com/2011/05/microsoft-powerpoint-2010-compress-media/&amp;layout=default&amp;show_faces=true&amp;width=400&amp;action=like&amp;colorscheme=light&amp;send=false' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:400px;'></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.limguohong.com/2011/05/microsoft-powerpoint-2010-compress-media/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Office 2010 &#8211; Removing picture background</title>
		<link>http://www.limguohong.com/2011/05/microsoft-office-2010-removing-picture-background/</link>
		<comments>http://www.limguohong.com/2011/05/microsoft-office-2010-removing-picture-background/#comments</comments>
		<pubDate>Tue, 03 May 2011 02:45:59 +0000</pubDate>
		<dc:creator>Guo Hong</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[background removal]]></category>
		<category><![CDATA[microsoft office 2010]]></category>
		<category><![CDATA[office 2010]]></category>
		<category><![CDATA[powerpoint 2010]]></category>
		<category><![CDATA[sample]]></category>
		<category><![CDATA[word 2010]]></category>

		<guid isPermaLink="false">http://www.limguohong.com/?p=587</guid>
		<description><![CDATA[I have made a screencast to show how do we use the background removal feature in Microsoft Office 2010. This is one of the more common questions which teachers asked me when we were presenting at Yishun Town Secondary School If you want to give it a try, you can download the sample files from [...]]]></description>
			<content:encoded><![CDATA[<p>I have made a screencast to show how do we use the background removal feature in Microsoft Office 2010. This is one of the more common questions which teachers asked me when we were presenting at Yishun Town Secondary School</p>
<p><object width="480" height="390"><param name="movie" value="http://www.youtube.com/v/OYNXIhQD6dk?fs=1&#038;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/OYNXIhQD6dk?fs=1&#038;hl=en_US" type="application/x-shockwave-flash" width="480" height="390" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>If you want to give it a try, you can download the sample files from here<br />
<a href="http://cid-29f099c37b76ca59.office.live.com/self.aspx/Blog/Office%20Demo/Remove%20Background%20Sample.zip">http://cid-29f099c37b76ca59.office.live.com/self.aspx/Blog/Office%20Demo/Remove%20Background%20Sample.zip</a></p>
<p>Should you have any question, please feel free to contact me at guohong@limguohong.com</p>
<div class='wpfblike' style='height: 60px;'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.limguohong.com/2011/05/microsoft-office-2010-removing-picture-background/&amp;layout=default&amp;show_faces=true&amp;width=400&amp;action=like&amp;colorscheme=light&amp;send=false' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:400px;'></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.limguohong.com/2011/05/microsoft-office-2010-removing-picture-background/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Excel 2010 &#8211; Combining 2 charts into one ( Using same data source )</title>
		<link>http://www.limguohong.com/2011/05/microsoft-excel-2010-combining-2-charts-into-one-using-same-data-source/</link>
		<comments>http://www.limguohong.com/2011/05/microsoft-excel-2010-combining-2-charts-into-one-using-same-data-source/#comments</comments>
		<pubDate>Mon, 02 May 2011 06:39:23 +0000</pubDate>
		<dc:creator>Guo Hong</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Combining 2 charts into one ( Using same data source )]]></category>
		<category><![CDATA[excel 2010]]></category>
		<category><![CDATA[microsoft excel]]></category>
		<category><![CDATA[microsoft office]]></category>
		<category><![CDATA[office excel]]></category>

		<guid isPermaLink="false">http://www.limguohong.com/?p=582</guid>
		<description><![CDATA[I have made a screencast to show how we can combine 2 chart types into one chart when we are using the same data source. This is one of the questions posed to me when we were at Yishun Town Secondary School. Microsoft Excel 2010 &#8211; Combing 2 charts into one ( Using same data [...]]]></description>
			<content:encoded><![CDATA[<p>I have made a screencast to show how we can combine 2 chart types into one chart when we are using the same data source. This is one of the questions posed to me when we were at Yishun Town Secondary School.</p>
<p><object width="480" height="390"><param name="movie" value="http://www.youtube.com/v/uF7fDNqzW0U?fs=1&#038;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/uF7fDNqzW0U?fs=1&#038;hl=en_US" type="application/x-shockwave-flash" width="480" height="390" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Microsoft Excel 2010 &#8211; Combing 2 charts into one ( Using same data source )<br />
If you are looking for different data source, please look here<br />
<a href="http://blogs.office.com/b/microsoft-excel/archive/2007/08/24/combining-chart-types-adding-a-second-axis.aspx">http://blogs.office.com/b/microsoft-excel/archive/2007/08/24/combining-chart-types-adding-a-second-axis.aspx</a></p>
<p>You can download the sample file here :<br />
<a href="http://cid-29f099c37b76ca59.office.live.com/self.aspx/Blog/Office%20Demo/Double%20Chart%20Sample.xlsx">http://cid-29f099c37b76ca59.office.live.com/self.aspx/Blog/Office%20Demo/Double%20Chart%20Sample.xlsx</a></p>
<p>Should you have any question, please feel free to contact me at guohong@limguohong.com</p>
<div class='wpfblike' style='height: 60px;'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.limguohong.com/2011/05/microsoft-excel-2010-combining-2-charts-into-one-using-same-data-source/&amp;layout=default&amp;show_faces=true&amp;width=400&amp;action=like&amp;colorscheme=light&amp;send=false' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:400px;'></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.limguohong.com/2011/05/microsoft-excel-2010-combining-2-charts-into-one-using-same-data-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Excel 2010 &#8211; Protecting selected cells</title>
		<link>http://www.limguohong.com/2011/04/microsoft-excel-2010-protecting-selected-cells/</link>
		<comments>http://www.limguohong.com/2011/04/microsoft-excel-2010-protecting-selected-cells/#comments</comments>
		<pubDate>Sat, 30 Apr 2011 08:35:21 +0000</pubDate>
		<dc:creator>Guo Hong</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[excel 2010]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[microsoft excel]]></category>
		<category><![CDATA[microsoft excel 2010]]></category>
		<category><![CDATA[microsoft office]]></category>
		<category><![CDATA[Protecting selected cells]]></category>

		<guid isPermaLink="false">http://www.limguohong.com/?p=565</guid>
		<description><![CDATA[I was at Yishun Town Secondary School the other day to assist on the Gerald, Microsoft School Technology Innovation Center Manager, presentation on a hands on session for Microsoft Office techology. We were posed some questions, I realised that it is useful to post some of them in a form of guide here so it [...]]]></description>
			<content:encoded><![CDATA[<p>I was at Yishun Town Secondary School the other day to assist on the Gerald, Microsoft School Technology Innovation Center Manager, presentation on a hands on session for Microsoft Office techology.</p>
<p>We were posed some questions, I realised that it is useful to post some of them in a form of guide here so it will help teachers. How do we protect some cells and not allow editing on them while allowing some others to be edited. It will be useful when ICT HODs or teachers want to do up an excel document with the formulas and wish to send to his/her team to use but they do not want them to mess it up.</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-01.png"><img class="alignnone size-large wp-image-550" title="excel-protection-01" src="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-01-1024x640.png" alt="" width="600" height="375" /></a><br />
1. First, lets open up Microsoft Excel 2010.</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-02.png"><img class="alignnone size-large wp-image-551" title="excel-protection-02" src="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-02-1024x640.png" alt="" width="600" height="375" /></a><br />
2. In this example, we will add first and second column and show the result in the third column.<br />
Select A3, go to Formulas tab &gt; AutoSum &gt; Sum</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-03.png"><img class="alignnone size-large wp-image-552" title="excel-protection-03" src="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-03-1024x640.png" alt="" width="600" height="375" /></a><br />
3. Select A1 and A2 for your data range.</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-04.png"><img class="alignnone size-large wp-image-553" title="excel-protection-04" src="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-04-1024x640.png" alt="" width="600" height="375" /></a><br />
4. On the bottom right of the cell, you will see a enlarged black dot, click on it and drag it all the way down to 20th row. ( In this example, we will just make use of 20 rows for the calculation. )</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-05.png"><img class="alignnone size-large wp-image-554" title="excel-protection-05" src="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-05-1024x640.png" alt="" width="600" height="375" /></a><br />
5. You will see something like this.</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-06.png"><img class="alignnone size-large wp-image-555" title="excel-protection-06" src="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-06-1024x640.png" alt="" width="600" height="375" /></a><br />
6. Right click on the 20 cells and go to Format Cells</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-07.png"><img class="alignnone size-large wp-image-556" title="excel-protection-07" src="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-07-1024x640.png" alt="" width="600" height="375" /></a><br />
7. Go to Protection and make sure <em>Locked </em>is ticked. This means these cells are not allowed to be edited.</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-08.png"><img class="alignnone size-large wp-image-557" title="excel-protection-08" src="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-08-1024x640.png" alt="" width="600" height="375" /></a><br />
8. Now Select A1 to B20</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-09.png"><img class="alignnone size-large wp-image-558" title="excel-protection-09" src="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-09-1024x640.png" alt="" width="600" height="375" /></a><br />
9. Right click on the selected cells and go to Format Cells</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-10.png"><img class="alignnone size-large wp-image-559" title="excel-protection-10" src="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-10-1024x640.png" alt="" width="600" height="375" /></a><br />
10. Go to the Protection Tab and untick <em>Locked</em> ( This means these cells can be edited )</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-11.png"><img class="alignnone size-large wp-image-560" title="excel-protection-11" src="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-11-1024x640.png" alt="" width="600" height="375" /></a><br />
11. You might want to color the cells so that your end user will know that these cells can be edited by going to Home tab &gt; Cell Styles &gt; choose Input.</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-12.png"><img class="alignnone size-large wp-image-561" title="excel-protection-12" src="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-12-1024x640.png" alt="" width="600" height="375" /></a><br />
12. Go to Review tab &gt; Protect Sheet</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-13.png"><img class="alignnone size-large wp-image-562" title="excel-protection-13" src="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-13-1024x640.png" alt="" width="600" height="375" /></a><br />
13. Input a password into the dialog box which appears. Please remember the password as you require that to unlock.</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-14.png"><img class="alignnone size-large wp-image-563" title="excel-protection-14" src="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-14-1024x640.png" alt="" width="600" height="375" /></a><br />
14. Another dialog box will appear to confirm the password, input the same password in again.</p>
<p><a href="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-15.png"><img class="alignnone size-large wp-image-564" title="excel-protection-15" src="http://www.limguohong.com/wp-content/uploads/2011/04/excel-protection-15-1024x640.png" alt="" width="600" height="375" /></a><br />
15. Try inputing values in A1-B20 and you will realised that you can do it but you cant do it when you try on other cells.</p>
<p>This concludes the tutorial on how do you protect selected cells in Microsoft Excel 2010. I have attached the sample document which you can download and have a look.</p>
<p><a href="http://cid-29f099c37b76ca59.office.live.com/self.aspx/Blog/Office%20Demo/Protecting%5E_Selected%5E_Cells.xlsx">http://cid-29f099c37b76ca59.office.live.com/self.aspx/Blog/Office%20Demo/Protecting%5E_Selected%5E_Cells.xlsx</a></p>
<p>Should you have any question, please feel free to contact me at guohong@limguohong.com</p>
<div class='wpfblike' style='height: 60px;'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.limguohong.com/2011/04/microsoft-excel-2010-protecting-selected-cells/&amp;layout=default&amp;show_faces=true&amp;width=400&amp;action=like&amp;colorscheme=light&amp;send=false' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:400px;'></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.limguohong.com/2011/04/microsoft-excel-2010-protecting-selected-cells/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Creating your first game on Popfly</title>
		<link>http://www.limguohong.com/2008/10/creating-your-first-game-on-popfly/</link>
		<comments>http://www.limguohong.com/2008/10/creating-your-first-game-on-popfly/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 17:15:50 +0000</pubDate>
		<dc:creator>Guo Hong</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[popfly]]></category>
		<category><![CDATA[popfly game]]></category>

		<guid isPermaLink="false">http://www.limguohong.com/?p=229</guid>
		<description><![CDATA[Microsoft Popfly (internally codenamed Springfield) is a website that allows users to create web pages, program snippets, and mashups using the Microsoft Silverlight rich internet applications runtime and the set of online tools provided. Popfly is currently in Beta stage of development. It requires users to log in with their Windows Live ID, and provide [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Microsoft Popfly (internally codenamed Springfield) is a website that allows users to create web pages, program snippets, and mashups using the Microsoft Silverlight rich internet applications runtime and the set of online tools provided. Popfly is currently in Beta stage of development. It requires users to log in with their Windows Live ID, and provide additional information about themselves when logging in for the first time to use Popfly.</p></blockquote>
<p><em>Quoted from <a href="http://en.wikipedia.org/wiki/Microsoft_Popfly">http://en.wikipedia.org/wiki/Microsoft_Popfly<br />
</a><br />
</em></p>
<p><a href="http://www.popfly.com">http://www.popfly.com</a> | I will be giving a tutorial on how to create a game on popfly. I personally think making a game on popfly all boils down to 3 simple general steps.</p>
<p>1. Ideas<br />
2. Creating the game<br />
3. Tweak the game to make it better</p>
<p>I will be teaching mainly the second stage, the creation of the game. I will pull in some simple functions which most people will be using when they are creating a game on popfly. Without further ado, we will start the fun!</p>
<p><span id="more-229"></span></p>
<hr />
<p>Preface:<br />
This will be a very simple game, there will have a few different-colour apples ( red, green and purple ). Players are supposed to push the apple into the respective colored boxes to gain points.</p>
<p>Creating of the games:<br />
1. Go to <a href="http://www.popfly.com">http://www.popfly.com</a><br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/1.png" alt="" /></p>
<p>2. Choose &#8220;Create a Game&#8221;<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/2.png" alt="" /></p>
<p>3. Lets create a game from scratch ( Author note: You can actually start with a template next time and see how it actually works. It will be pretty useful for your learning. )<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/3.png" alt="" /></p>
<p>4.  On the top left hand concer, make sure Actors is chosen.<br />
Actors are what &#8220;figures&#8221; you will be using in your game.<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/4.png" alt="" /></p>
<p>5. Using that search bar, lets search for 1 &#8220;dog&#8221;, 2 &#8220;apples&#8221; and 2 &#8220;bricks&#8221; of the same colour as the apples.<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/5.png" alt="" width="70%" /><br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/6.png" alt="" /></p>
<p><em>Basicially you have added all the &#8220;actors&#8221; needed to have to start this game but a game will be meaningless if the figure just stand there and do nothing. Lets edit the behaviour of the different actor.</em></p>
<p>6. Click on the dog on the selected actor panel.<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/7.png" alt="" /></p>
<p>7. Lets edit the behaviour, click on the behaviours button on th left.<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/8.png" alt="" width="70%" /></p>
<p>8. Popfly is cool enough to actually add some common shortcuts and which one of them we will be using it. Choose it on the top right.<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/9.png" alt="" width="70%" /></p>
<p>You should see something like this.<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/10.png" alt="" width="70%" /></p>
<p>9. You can actually play with other features that popfly offer and change how the actor ( dog ) works.<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/11.png" alt="" width="70%" /></p>
<p>10. Lets do the same for the apple.<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/12.png" alt="" /></p>
<p>11. Do the follow setting<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/13.png" alt="" width="70%" /></p>
<p><img src="http://www.limguohong.com/tutorial/popfly/game1/14.png" alt="" /></p>
<p><img src="http://www.limguohong.com/tutorial/popfly/game1/15.png" alt="" width="70%" /></p>
<p><img src="http://www.limguohong.com/tutorial/popfly/game1/16.png" alt="" /></p>
<p>12. Do the same for the green apple.</p>
<p>We have completed all the actors setting. Lets move to the scene setting.<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/17.png" alt="" /></p>
<p>13. Arrange the items to be something like the follow.<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/18.png" alt="" /></p>
<p>14. Click on Behaviors &gt; Property &gt; Events &gt; Collision<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/14.png" alt="" /></p>
<p>15. Click on Behaviors &gt; Property &gt; Events &gt; Score<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/19.png" alt="" /></p>
<p>Do it for both the green and red apple.</p>
<p>16. Click on Behaviors &gt; Scene &gt; Event<br />
<img src="http://www.limguohong.com/tutorial/popfly/game1/20.png" alt="" /></p>
<p>17. Click on Behaviors &gt; Scene &gt; Scene (Won)</p>
<p><strong>Thinking points:</strong></p>
<ol>
<li>Changing the scene ( Intro, Main, Won, Lost, How to Play )</li>
<li>Adding other scenes</li>
<li>Make a shooting game</li>
<li>Try other features on Popfly</li>
</ol>
<hr />
This is a very simple tutorial on how to create your first game on popfly. I am quite a &#8220;newbie&#8221; in creating tutorial but I hope it helps, I will keep on editting and updating it whenever i find that it is not good. You can actually find more information under <a href="http://www.limguohong.com/tutorials">http://www.limguohong.com/tutorials</a></p>
<div class='wpfblike' style='height: 60px;'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.limguohong.com/2008/10/creating-your-first-game-on-popfly/&amp;layout=default&amp;show_faces=true&amp;width=400&amp;action=like&amp;colorscheme=light&amp;send=false' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:400px;'></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.limguohong.com/2008/10/creating-your-first-game-on-popfly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

