<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Lim Guo Hong</title>
	<atom:link href="http://www.limguohong.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.limguohong.com</link>
	<description>Technology Enthusiast</description>
	<lastBuildDate>Tue, 29 Nov 2011 17:11:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on BingMapsDirectionsTask &#8211; Getting driving / walking directions by Guo Hong</title>
		<link>http://www.limguohong.com/2011/10/bingmapsdirectionstask-getting-driving-walking-directions/#comment-1072</link>
		<dc:creator>Guo Hong</dc:creator>
		<pubDate>Tue, 29 Nov 2011 17:11:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.limguohong.com/?p=790#comment-1072</guid>
		<description>No problem! Let me know if you need any tutorials! =)</description>
		<content:encoded><![CDATA[<p>No problem! Let me know if you need any tutorials! =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on BingMapsDirectionsTask &#8211; Getting driving / walking directions by Marius Bughiu</title>
		<link>http://www.limguohong.com/2011/10/bingmapsdirectionstask-getting-driving-walking-directions/#comment-1071</link>
		<dc:creator>Marius Bughiu</dc:creator>
		<pubDate>Tue, 29 Nov 2011 15:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.limguohong.com/?p=790#comment-1071</guid>
		<description>Thank you very much for this! It&#039;s simple and easy to understand.

And BTW: it also works if you provide geolocations instead of addresses. Tested it in your applications by typing geolocations in the two text-boxes.

Again, thanks.</description>
		<content:encoded><![CDATA[<p>Thank you very much for this! It&#8217;s simple and easy to understand.</p>
<p>And BTW: it also works if you provide geolocations instead of addresses. Tested it in your applications by typing geolocations in the two text-boxes.</p>
<p>Again, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error reporting for Windows Phone 7 : Little Watson (XNA version) by Guo Hong</title>
		<link>http://www.limguohong.com/2011/05/error-reporting-for-windows-phone-7-little-watson-xna-version/#comment-930</link>
		<dc:creator>Guo Hong</dc:creator>
		<pubDate>Tue, 25 Oct 2011 10:37:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.limguohong.com/?p=641#comment-930</guid>
		<description>Glad to hear that! =)</description>
		<content:encoded><![CDATA[<p>Glad to hear that! =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error reporting for Windows Phone 7 : Little Watson (XNA version) by Adam</title>
		<link>http://www.limguohong.com/2011/05/error-reporting-for-windows-phone-7-little-watson-xna-version/#comment-929</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 24 Oct 2011 23:45:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.limguohong.com/?p=641#comment-929</guid>
		<description>Sweet, I used your example and made it work for my project too.  Mine&#039;s for wp7 as well!</description>
		<content:encoded><![CDATA[<p>Sweet, I used your example and made it work for my project too.  Mine&#8217;s for wp7 as well!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error reporting for Windows Phone 7 : Little Watson (XNA version) by Guo Hong</title>
		<link>http://www.limguohong.com/2011/05/error-reporting-for-windows-phone-7-little-watson-xna-version/#comment-928</link>
		<dc:creator>Guo Hong</dc:creator>
		<pubDate>Mon, 24 Oct 2011 09:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.limguohong.com/?p=641#comment-928</guid>
		<description>Hi Adam,

I have checked and confirmed that the error you stated is there. It was a fault in the Little Watson which I wrote here. The problem exists as it is a async operation.

What happen here is you can force a wait to the message box and wait for a response from the user, making the operation synchronous instead.

&lt;blockquote&gt;
IAsyncResult result = Guide.BeginShowMessageBox(
                            &quot;Problem Report&quot;, msg, MBOPTIONS, 0,
                            MessageBoxIcon.Alert, null, null);

                    // Wait for response.
                    result.AsyncWaitHandle.WaitOne();

                    int? choice = Guide.EndShowMessageBox(result);
&lt;/blockquote&gt;

I managed to make it work on my sample. Let me know if you require the source project for reference. FYI, my project is writeen for WP7.0 :)

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Adam,</p>
<p>I have checked and confirmed that the error you stated is there. It was a fault in the Little Watson which I wrote here. The problem exists as it is a async operation.</p>
<p>What happen here is you can force a wait to the message box and wait for a response from the user, making the operation synchronous instead.</p>
<blockquote><p>
IAsyncResult result = Guide.BeginShowMessageBox(<br />
                            &#8220;Problem Report&#8221;, msg, MBOPTIONS, 0,<br />
                            MessageBoxIcon.Alert, null, null);</p>
<p>                    // Wait for response.<br />
                    result.AsyncWaitHandle.WaitOne();</p>
<p>                    int? choice = Guide.EndShowMessageBox(result);
</p></blockquote>
<p>I managed to make it work on my sample. Let me know if you require the source project for reference. FYI, my project is writeen for WP7.0 <img src='http://www.limguohong.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error reporting for Windows Phone 7 : Little Watson (XNA version) by Adam</title>
		<link>http://www.limguohong.com/2011/05/error-reporting-for-windows-phone-7-little-watson-xna-version/#comment-927</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 24 Oct 2011 06:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.limguohong.com/?p=641#comment-927</guid>
		<description>actually, I can&#039;t get it to work unless I use a button that sets of the exception like you did...  I must be missing something.</description>
		<content:encoded><![CDATA[<p>actually, I can&#8217;t get it to work unless I use a button that sets of the exception like you did&#8230;  I must be missing something.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error reporting for Windows Phone 7 : Little Watson (XNA version) by Adam</title>
		<link>http://www.limguohong.com/2011/05/error-reporting-for-windows-phone-7-little-watson-xna-version/#comment-926</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 24 Oct 2011 05:52:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.limguohong.com/?p=641#comment-926</guid>
		<description>I was testing your xna version of little watson and discovered a scenario that causes the message box to dismiss itself.  I actually was using the old version and didn&#039;t see your throw new FormatException() example and so was using this:

int zero = 0;
int error = 1 / zero;

to get my exception.  I just threw it in somewhere in my game, which was the draw method of a game screen between spriteBatch.Begin() and spriteBatch.End().

Maybe this just happens with little watson or maybe I found a bug.  I don&#039;t really know a whole lot about how it works, so I just thought I&#039;d let you know to see what you had to say on the matter.  If you need to, I can give you more details on where I was using my 1/0 exception.

Thanks</description>
		<content:encoded><![CDATA[<p>I was testing your xna version of little watson and discovered a scenario that causes the message box to dismiss itself.  I actually was using the old version and didn&#8217;t see your throw new FormatException() example and so was using this:</p>
<p>int zero = 0;<br />
int error = 1 / zero;</p>
<p>to get my exception.  I just threw it in somewhere in my game, which was the draw method of a game screen between spriteBatch.Begin() and spriteBatch.End().</p>
<p>Maybe this just happens with little watson or maybe I found a bug.  I don&#8217;t really know a whole lot about how it works, so I just thought I&#8217;d let you know to see what you had to say on the matter.  If you need to, I can give you more details on where I was using my 1/0 exception.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About Guo Hong by Vanessa</title>
		<link>http://www.limguohong.com/about-guo-hong/#comment-924</link>
		<dc:creator>Vanessa</dc:creator>
		<pubDate>Thu, 13 Oct 2011 20:30:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.limguohong.com/?page_id=7#comment-924</guid>
		<description>Awesome!</description>
		<content:encoded><![CDATA[<p>Awesome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Microsoft Excel 2010 &#8211; Protecting selected cells by Guo Hong</title>
		<link>http://www.limguohong.com/2011/04/microsoft-excel-2010-protecting-selected-cells/#comment-849</link>
		<dc:creator>Guo Hong</dc:creator>
		<pubDate>Tue, 31 May 2011 14:44:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.limguohong.com/?p=565#comment-849</guid>
		<description>Hi Basheer,

I have made a screencast for your viewing.
http://www.youtube.com/watch?v=phNCdHnAIOY

Thanks,
Guo Hong</description>
		<content:encoded><![CDATA[<p>Hi Basheer,</p>
<p>I have made a screencast for your viewing.<br />
<a href="http://www.youtube.com/watch?v=phNCdHnAIOY" rel="nofollow">http://www.youtube.com/watch?v=phNCdHnAIOY</a></p>
<p>Thanks,<br />
Guo Hong</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Pain in the heart by Guo Hong</title>
		<link>http://www.limguohong.com/2010/01/pain-in-the-heart/#comment-848</link>
		<dc:creator>Guo Hong</dc:creator>
		<pubDate>Tue, 31 May 2011 12:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.limguohong.com/?p=405#comment-848</guid>
		<description>I can&#039;t wait for that day. *wink*wink*</description>
		<content:encoded><![CDATA[<p>I can&#8217;t wait for that day. *wink*wink*</p>
]]></content:encoded>
	</item>
</channel>
</rss>

