<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>.NET Compact Framework</title>
        <link>http://geekswithblogs.net/rupreet/category/2008.aspx</link>
        <description>.NET Compact Framework</description>
        <language>en-US</language>
        <copyright>Rupreet Singh Gujral</copyright>
        <managingEditor>rs_gujral@yahoo.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Test your CF based applications on emulators which require Active Sync Connection!</title>
            <link>http://geekswithblogs.net/rupreet/archive/2005/07/11/45918.aspx</link>
            <description>&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'MS Mincho'; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;FONT size=2&gt;&lt;FONT face=Tahoma&gt;Don't have a Pocket PC? Still want to write applications which require an Active Sync Connection with Pocket PC; Here is the way.....&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Below is what i did to test my RAPI based application which required an Active Sync Connection! &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'MS Mincho'; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;FONT face=Tahoma size=2&gt;Installations:&lt;BR&gt;1. Active Sync 3.7.1 on my PC&lt;BR&gt;2. VS 2005 Device Emulators on my PC. (I think there must be separate installation for this...no need to install VS2005 for this ....you need to check for it) &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'MS Mincho'; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;FONT face=Tahoma size=2&gt;Here is the procedure:&lt;BR&gt;1. Navigate to your "Program Files\Microsoft Device Emulator\1.0" folder. Start the "Device Emulator Manager" by clicking "dvcemumanager.exe" file. &lt;BR&gt;2. Select one emulator e.g. "Pocket PC 2003 SE Emulator" and select Connect from the Actions Menu. Pocket PC 2003 SE Emulator will start. &lt;BR&gt;3. Keep the emulator selected and Select "Cradle" from the Action Menu. The PPC emulator will go into "cradle" mode. You can see the icon beside the emulator name in the Device Emulator Manager change.&lt;BR&gt;4. Start Active Sync if it is not running.&lt;BR&gt;5. Devices will start communicating with each other and you can sync up your data.&lt;BR&gt;6. Start writing your applications :) &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=45918"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=45918" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/rupreet/aggbug/45918.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Rupreet Singh Gujral</dc:creator>
            <guid>http://geekswithblogs.net/rupreet/archive/2005/07/11/45918.aspx</guid>
            <pubDate>Mon, 11 Jul 2005 19:25:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/rupreet/comments/45918.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/rupreet/archive/2005/07/11/45918.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/rupreet/comments/commentRss/45918.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/rupreet/services/trackbacks/45918.aspx</trackback:ping>
        </item>
        <item>
            <title>IrdaClient.DiscoverDevices throws InvalidProgramException - Bug in Compact Framework</title>
            <link>http://geekswithblogs.net/rupreet/archive/2005/06/22/44375.aspx</link>
            <description>&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'MS Mincho'; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;FONT face=Tahoma size=2&gt;Last evening, I was trying to write an application which could detect IR Devices from my machine and give its details. I was using VS2005 Beta 2 Winforms. I added System.Net.IrDA.dll from &amp;#8220;&lt;EM&gt;C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\System.Net.IrDA.dll&amp;#8221;&lt;/EM&gt; path. The program is simple, just create an instance of&amp;nbsp;IrDAClient and look for devices using IrDA.DiscoverDevices(int max) which gives an array of IrDADeviceInfo. But to my surprise, when I launch the application, it was throwing exception "&lt;STRONG&gt;IrdaClient.DiscoverDevices throws InvalidProgramException&lt;/STRONG&gt;". &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'MS Mincho'; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA"&gt;&lt;FONT face=Tahoma&gt;&lt;FONT size=2&gt;&lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:City w:st="on"&gt;&lt;st1:place w:st="on"&gt;Reading&lt;/st1:place&gt;&lt;/st1:City&gt; more about InvalidProgramException exception online, MSDN says "&lt;EM&gt;The exception that is thrown when a program contains invalid Microsoft intermediate language (MSIL) or metadata. Generally this indicates a bug in the compiler that generated the program&lt;/EM&gt;". I was still doubtful if it was really a bug or&amp;nbsp;am I doing something wrong. After working on the code and looking over internet, nothing resolved this issue. Then I thought will log this&amp;nbsp;issue to &lt;st1:place w:st="on"&gt;&lt;st1:PlaceName w:st="on"&gt;MSDN&lt;/st1:PlaceName&gt; &lt;st1:PlaceName w:st="on"&gt;Product&lt;/st1:PlaceName&gt; &lt;st1:PlaceName w:st="on"&gt;Feedback&lt;/st1:PlaceName&gt; &lt;st1:PlaceType w:st="on"&gt;Center&lt;/st1:PlaceType&gt;&lt;/st1:place&gt;. While logging the issue, I found it&amp;#8217;s already logged and Microsoft Product Team has already confirmed that this is a reproducible at there end and validated it as a &lt;STRONG&gt;bug&lt;/STRONG&gt;. Here are the &lt;/FONT&gt;&lt;/FONT&gt;&lt;A href="http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=25ba0b73-c51e-4953-a431-9c6b6f533f95" target=_blank&gt;&lt;FONT face=Tahoma size=2&gt;bug details&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt;. &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=44375"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=44375" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/rupreet/aggbug/44375.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Rupreet Singh Gujral</dc:creator>
            <guid>http://geekswithblogs.net/rupreet/archive/2005/06/22/44375.aspx</guid>
            <pubDate>Wed, 22 Jun 2005 19:23:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/rupreet/comments/44375.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/rupreet/archive/2005/06/22/44375.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/rupreet/comments/commentRss/44375.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/rupreet/services/trackbacks/44375.aspx</trackback:ping>
        </item>
    </channel>
</rss>