<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://community.inthehand.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Peter Foot - All Comments</title><link>http://community.inthehand.com/blogs/peterfoot/default.aspx</link><description>Microsoft Device Application Development MVP</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>More on "My" Functionality in Mobile In The Hand 4.0</title><link>http://community.inthehand.com/blogs/peterfoot/archive/2009/12/07/new-quot-my-quot-functionality-in-mobile-in-the-hand-4-0.aspx#9117</link><pubDate>Tue, 15 Dec 2009 23:02:42 GMT</pubDate><guid isPermaLink="false">a6c76ee1-0bb1-45d9-a8c3-660105c16730:9117</guid><dc:creator>Peter Foot</dc:creator><description>&lt;p&gt;In the last post on &amp;amp;quot;My&amp;amp;quot; functionality I showed you how to get started adding the My Extensions&lt;/p&gt;
&lt;img src="http://community.inthehand.com/aggbug.aspx?PostID=9117" width="1" height="1"&gt;</description></item><item><title>re: Windows Mobile 6.5 Tab Control</title><link>http://community.inthehand.com/blogs/peterfoot/archive/2009/09/17/windows-mobile-6-5-tab-control.aspx#8480</link><pubDate>Fri, 02 Oct 2009 09:16:15 GMT</pubDate><guid isPermaLink="false">a6c76ee1-0bb1-45d9-a8c3-660105c16730:8480</guid><dc:creator>Jinx</dc:creator><description>&lt;p&gt;Hi Peter,&lt;/p&gt;
&lt;p&gt;I could not find the attachement?&lt;/p&gt;
&lt;img src="http://community.inthehand.com/aggbug.aspx?PostID=8480" width="1" height="1"&gt;</description></item><item><title>re: .NETCF 3.5 Breaking Changes</title><link>http://community.inthehand.com/blogs/peterfoot/archive/2009/03/13/netcf-3-5-breaking-changes.aspx#7253</link><pubDate>Mon, 16 Mar 2009 15:26:44 GMT</pubDate><guid isPermaLink="false">a6c76ee1-0bb1-45d9-a8c3-660105c16730:7253</guid><dc:creator>alanjmcf</dc:creator><description>&lt;p&gt;Typo: Should have said &amp;quot;There's no Socket.Connect(string,int) in NETCF (any version).&amp;quot;&lt;/p&gt;
&lt;img src="http://community.inthehand.com/aggbug.aspx?PostID=7253" width="1" height="1"&gt;</description></item><item><title>re: .NETCF 3.5 Breaking Changes</title><link>http://community.inthehand.com/blogs/peterfoot/archive/2009/03/13/netcf-3-5-breaking-changes.aspx#7252</link><pubDate>Mon, 16 Mar 2009 15:20:28 GMT</pubDate><guid isPermaLink="false">a6c76ee1-0bb1-45d9-a8c3-660105c16730:7252</guid><dc:creator>alanjmcf</dc:creator><description>&lt;p&gt;Re &amp;quot;System.Net.Sockets.TcpClient.Dispose &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Closing TcpClient closes the underlying network stream&amp;quot;&lt;/p&gt;
&lt;p&gt;Oh tell me they've fixed the other problem... &amp;nbsp;In NETCF when the TcpClient was finalized the Socket/NetworkStream was closed too! &amp;nbsp;That means the following patterns isn't usable:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;class Wrapper&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Stream conn;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public void Connect(string hostname)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TcpClient cli = new TcpClient(hostname);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;conn = cli.GetStream();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;... ...&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;Because at some later point the TcpClient will be GC and that will close the connection! &amp;nbsp; And why use that pattern? &amp;nbsp;Because in NETCFv1 there's no Socket.Connect(string) method. :-(&lt;/p&gt;
&lt;p&gt;Oh dear, there's no bug report at connect.microsoft.com. &amp;nbsp;Woops, should have created one... :-(&lt;/p&gt;
&lt;p&gt;Alan&lt;/p&gt;
&lt;img src="http://community.inthehand.com/aggbug.aspx?PostID=7252" width="1" height="1"&gt;</description></item><item><title>wm6.1,threaded sms and custom inbox forms? | keyongtech</title><link>http://community.inthehand.com/blogs/peterfoot/archive/2008/04/08/disable-windows-mobile-6-1-threaded-sms-view.aspx#6894</link><pubDate>Sun, 18 Jan 2009 17:26:39 GMT</pubDate><guid isPermaLink="false">a6c76ee1-0bb1-45d9-a8c3-660105c16730:6894</guid><dc:creator>wm6.1,threaded sms and custom inbox forms? | keyongtech</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;wm6.1,threaded sms and custom inbox forms? | keyongtech&lt;/p&gt;
&lt;img src="http://community.inthehand.com/aggbug.aspx?PostID=6894" width="1" height="1"&gt;</description></item><item><title>Substitute for ComboBox FindString in compact framework? | keyongtech</title><link>http://community.inthehand.com/blogs/peterfoot/archive/2008/07/10/implement-findstring-for-a-combobox.aspx#6893</link><pubDate>Sun, 18 Jan 2009 16:33:56 GMT</pubDate><guid isPermaLink="false">a6c76ee1-0bb1-45d9-a8c3-660105c16730:6893</guid><dc:creator>Substitute for ComboBox FindString in compact framework? | keyongtech</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Substitute for ComboBox FindString in compact framework? | keyongtech&lt;/p&gt;
&lt;img src="http://community.inthehand.com/aggbug.aspx?PostID=6893" width="1" height="1"&gt;</description></item><item><title>Window Mobile 6(.NET) Remote Deletion &amp;amp; Detect Sim Card | keyongtech</title><link>http://community.inthehand.com/blogs/peterfoot/archive/2008/06/20/using-remotewipe.aspx#6892</link><pubDate>Sun, 18 Jan 2009 16:19:34 GMT</pubDate><guid isPermaLink="false">a6c76ee1-0bb1-45d9-a8c3-660105c16730:6892</guid><dc:creator>Window Mobile 6(.NET) Remote Deletion &amp; Detect Sim Card | keyongtech</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Window Mobile 6(.NET) Remote Deletion &amp;amp;amp; Detect Sim Card | keyongtech&lt;/p&gt;
&lt;img src="http://community.inthehand.com/aggbug.aspx?PostID=6892" width="1" height="1"&gt;</description></item><item><title>HttpWebRequest Exceptions under .NETCF</title><link>http://community.inthehand.com/blogs/peterfoot/archive/2008/01/09/httpwebrequest-exceptions-under-netcf.aspx#5975</link><pubDate>Mon, 04 Aug 2008 11:28:09 GMT</pubDate><guid isPermaLink="false">a6c76ee1-0bb1-45d9-a8c3-660105c16730:5975</guid><dc:creator>Peter Foot</dc:creator><description>&lt;p&gt;While testing code using HttpWebRequest it can be observed in the debug output that a number of exceptions&lt;/p&gt;
&lt;img src="http://community.inthehand.com/aggbug.aspx?PostID=5975" width="1" height="1"&gt;</description></item><item><title>Great XNA Book Coming Soon</title><link>http://community.inthehand.com/blogs/peterfoot/archive/2008/02/01/great-xna-book-coming-soon.aspx#5974</link><pubDate>Mon, 04 Aug 2008 11:28:00 GMT</pubDate><guid isPermaLink="false">a6c76ee1-0bb1-45d9-a8c3-660105c16730:5974</guid><dc:creator>Peter Foot</dc:creator><description>&lt;p&gt;Rob Miles has finished his book on XNA development and it will be out in the wild soon. Although we don&amp;amp;#39;t&lt;/p&gt;
&lt;img src="http://community.inthehand.com/aggbug.aspx?PostID=5974" width="1" height="1"&gt;</description></item><item><title>How To: Programmatically Scroll Controls</title><link>http://community.inthehand.com/blogs/peterfoot/archive/2008/02/12/how-to-programmatically-scroll-controls.aspx#5973</link><pubDate>Mon, 04 Aug 2008 11:27:57 GMT</pubDate><guid isPermaLink="false">a6c76ee1-0bb1-45d9-a8c3-660105c16730:5973</guid><dc:creator>Peter Foot</dc:creator><description>&lt;p&gt;A number of controls within .NETCF have built in ScrollBars. Occasionally you may want to operate these&lt;/p&gt;
&lt;img src="http://community.inthehand.com/aggbug.aspx?PostID=5973" width="1" height="1"&gt;</description></item><item><title>How To: Get System Power State Name and Flags</title><link>http://community.inthehand.com/blogs/peterfoot/archive/2008/02/23/how-to-get-system-power-state-name-and-flags.aspx#5972</link><pubDate>Mon, 04 Aug 2008 11:27:53 GMT</pubDate><guid isPermaLink="false">a6c76ee1-0bb1-45d9-a8c3-660105c16730:5972</guid><dc:creator>Peter Foot</dc:creator><description>&lt;p&gt;A question came up on our forums and so I investigated writing a wrapper for the GetSystemPowerState&lt;/p&gt;
&lt;img src="http://community.inthehand.com/aggbug.aspx?PostID=5972" width="1" height="1"&gt;</description></item><item><title>Exception Messages on .NETCF v3.5</title><link>http://community.inthehand.com/blogs/peterfoot/archive/2008/03/06/exception-messages-on-netcf-v3-5.aspx#5971</link><pubDate>Mon, 04 Aug 2008 11:27:52 GMT</pubDate><guid isPermaLink="false">a6c76ee1-0bb1-45d9-a8c3-660105c16730:5971</guid><dc:creator>Peter Foot</dc:creator><description>&lt;p&gt;Martijn Hoogendoorn provides a description of how to avoid the message:- &amp;amp;quot; An error message is available&lt;/p&gt;
&lt;img src="http://community.inthehand.com/aggbug.aspx?PostID=5971" width="1" height="1"&gt;</description></item><item><title>Mobile Book in Chinese</title><link>http://community.inthehand.com/blogs/peterfoot/archive/2008/05/16/chinese-translation-of-microsoft-mobile-development-handbook-now-available.aspx#5407</link><pubDate>Sun, 18 May 2008 00:10:19 GMT</pubDate><guid isPermaLink="false">a6c76ee1-0bb1-45d9-a8c3-660105c16730:5407</guid><dc:creator>Daniel Moth</dc:creator><description>&lt;p&gt;Mobile Book in Chinese&lt;/p&gt;
&lt;img src="http://community.inthehand.com/aggbug.aspx?PostID=5407" width="1" height="1"&gt;</description></item><item><title>Windows Mobile 6.1 is Here!</title><link>http://community.inthehand.com/blogs/peterfoot/archive/2008/04/02/new-windows-mobile-6-1-screen-resolutions.aspx#5093</link><pubDate>Thu, 03 Apr 2008 08:04:20 GMT</pubDate><guid isPermaLink="false">a6c76ee1-0bb1-45d9-a8c3-660105c16730:5093</guid><dc:creator>Richard Jones - Mobile LOB Blog</dc:creator><description>&lt;img src="http://community.inthehand.com/aggbug.aspx?PostID=5093" width="1" height="1"&gt;</description></item><item><title>[CF.Skills]获取系统电源状态</title><link>http://community.inthehand.com/blogs/peterfoot/archive/2008/02/23/how-to-get-system-power-state-name-and-flags.aspx#4943</link><pubDate>Sun, 09 Mar 2008 03:30:46 GMT</pubDate><guid isPermaLink="false">a6c76ee1-0bb1-45d9-a8c3-660105c16730:4943</guid><dc:creator>fox23</dc:creator><description>&lt;p&gt;获取Windows Mobile系统电源状态(VB&lt;/p&gt;
&lt;img src="http://community.inthehand.com/aggbug.aspx?PostID=4943" width="1" height="1"&gt;</description></item></channel></rss>