<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</title>
        <link>http://geekswithblogs.net/mschmidt/category/433.aspx</link>
        <description>All things .NET with a focus on C#</description>
        <language>en-US</language>
        <copyright>Mark Schmidt</copyright>
        <managingEditor>mark@schmidt6.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Creating a .NET Sidebar Gadget - The Easy Way</title>
            <link>http://geekswithblogs.net/mschmidt/archive/2007/07/17/113998.aspx</link>
            <description>&lt;p&gt;Take a look at my recent MSDN blog post to see how you can get around the common issues related to .NET development of Vista Sidebar gadgets. Don't want to write registry access code in javascript? Can't figure out how to uninstall your .NET based gadget? Read on...&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;&lt;a href="http://blogs.msdn.com/markhsch/archive/2007/07/17/creating-net-sidebar-gadgets-the-easy-way.aspx"&gt;http://blogs.msdn.com/markhsch/archive/2007/07/17/creating-net-sidebar-gadgets-the-easy-way.aspx&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113998"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113998" 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/mschmidt/aggbug/113998.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Mark Schmidt</dc:creator>
            <guid>http://geekswithblogs.net/mschmidt/archive/2007/07/17/113998.aspx</guid>
            <pubDate>Tue, 17 Jul 2007 18:49:04 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/mschmidt/comments/113998.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/mschmidt/archive/2007/07/17/113998.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/mschmidt/comments/commentRss/113998.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/mschmidt/services/trackbacks/113998.aspx</trackback:ping>
        </item>
        <item>
            <title>My Vista ScreenSaver Sidebar Gadget</title>
            <link>http://geekswithblogs.net/mschmidt/archive/2007/04/11/111459.aspx</link>
            <description>&lt;P&gt;&amp;nbsp;For some reason, I'm drawn to creating things that are just cool while not altogether useful (see my Animated Activity Designer post, though one could argue that it may in fact be useful). To that end, I decided to create a Vista Sidebar gadget that displays a screen saver of your choosing. Vista has some good screen savers that it shipped with and I've embedded screen savers before (in fact, I show how to do it in one of my books).&lt;/P&gt;

&lt;P&gt;So go ahead and grab it from the Windows Live Gallery (link below). If enough people clamor and beg, I will post the source code. Here's a quick rundown of what I did:&lt;/P&gt;

&lt;P&gt;1. Create a .NET User Control&lt;BR&gt;2. Embed a screen saver in the user control whenever the ScreenSaverPath property is set (and the control is visible)&lt;BR&gt;3. Create the HTML page for the sidebar (sidebar controls use Javascript and HTML in case you didn't know already)&lt;BR&gt;4. Embed the UserControl in the HTML page (using COM interop naturally)&lt;BR&gt;5. Create a settings page that also uses COM Interop. The settings page calls a .NET component that I wrote that simply returns a collection of screen saver paths on the local system.&lt;BR&gt;6. Create the installation in Javascript. I had to get some help for this one. Basically, I do what regasm does by using the WSHShell object to set registry entries. I found some code on the Internet to help.&lt;/P&gt;

&lt;P&gt;Here's a screenshot of it in action using the Ribbons screensaver:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/markhsch/WindowsLiveWriter/MyScreenSaverVistaSidebarGadget_9F6F/ssavergadget%5B1%5D.jpg" atomicselection="true" mce_href="http://blogs.msdn.com/blogfiles/markhsch/WindowsLiveWriter/MyScreenSaverVistaSidebarGadget_9F6F/ssavergadget%5B1%5D.jpg"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=240 src="http://blogs.msdn.com/blogfiles/markhsch/WindowsLiveWriter/MyScreenSaverVistaSidebarGadget_9F6F/ssavergadget.jpg" width=215 border=0 mce_src="http://blogs.msdn.com/blogfiles/markhsch/WindowsLiveWriter/MyScreenSaverVistaSidebarGadget_9F6F/ssavergadget.jpg"&gt;&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;Here's the link:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://gallery.live.com/liveItemDetail.aspx?li=e321409b-231a-4da0-905c-0580c732223e&amp;amp;l=1" mce_href="http://gallery.live.com/liveItemDetail.aspx?li=e321409b-231a-4da0-905c-0580c732223e&amp;amp;l=1"&gt;Screen Saver Vista Sidebar Gadget&lt;/A&gt;&lt;/P&gt;
&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=111459"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=111459" 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/mschmidt/aggbug/111459.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Mark Schmidt</dc:creator>
            <guid>http://geekswithblogs.net/mschmidt/archive/2007/04/11/111459.aspx</guid>
            <pubDate>Wed, 11 Apr 2007 22:22:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/mschmidt/comments/111459.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/mschmidt/archive/2007/04/11/111459.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/mschmidt/comments/commentRss/111459.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/mschmidt/services/trackbacks/111459.aspx</trackback:ping>
        </item>
        <item>
            <title>Ask me about Windows Workflow Foundation</title>
            <link>http://geekswithblogs.net/mschmidt/archive/2005/09/14/53789.aspx</link>
            <description>&lt;pMy MSDN blog has been silent for awhile due to me being moved from BizTalk Accelerators to the new workflow technology dubbed Windows Workflow Foundation. Since it was officially announced today, I can start back up and fill the backlog of info I need to get out of my head and into digital form.&lt;/p&gt;

&lt;p&gt;For more information, check out my MSDN blog post here: &lt;a href='http://blogs.msdn.com/markhsch/archive/2005/09/14/466209.aspx'&gt;http://blogs.msdn.com/markhsch/archive/2005/09/14/466209.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=53789"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=53789" 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/mschmidt/aggbug/53789.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Mark Schmidt</dc:creator>
            <guid>http://geekswithblogs.net/mschmidt/archive/2005/09/14/53789.aspx</guid>
            <pubDate>Wed, 14 Sep 2005 14:05:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/mschmidt/comments/53789.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/mschmidt/archive/2005/09/14/53789.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/mschmidt/comments/commentRss/53789.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/mschmidt/services/trackbacks/53789.aspx</trackback:ping>
        </item>
        <item>
            <title>Avalon and 3D Graphics</title>
            <link>http://geekswithblogs.net/mschmidt/archive/2005/08/24/51014.aspx</link>
            <description>&lt;p&gt;I just posted a somewhat lengthy article on my MSDN blog covering Avalon and 3D graphics. I got a little bored yesterday and this is what happens. In a nutshell, I created a mesh exporter for MilkShape that will output the mesh in XAML format that you can then load using Avalon.&lt;/p&gt;

&lt;p&gt;&lt;a href='http://blogs.msdn.com/markhsch/archive/2005/08/24/455791.aspx'&gt;http://blogs.msdn.com/markhsch/archive/2005/08/24/455791.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=51014"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=51014" 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/mschmidt/aggbug/51014.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Mark Schmidt</dc:creator>
            <guid>http://geekswithblogs.net/mschmidt/archive/2005/08/24/51014.aspx</guid>
            <pubDate>Wed, 24 Aug 2005 17:27:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/mschmidt/comments/51014.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/mschmidt/archive/2005/08/24/51014.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/mschmidt/comments/commentRss/51014.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/mschmidt/services/trackbacks/51014.aspx</trackback:ping>
        </item>
        <item>
            <title>Windows CE, .NET and Remote Control Planes</title>
            <link>http://geekswithblogs.net/mschmidt/archive/2005/03/03/24917.aspx</link>
            <description>Posted on my MSDN page here: &lt;A href="http://blogs.msdn.com/markhsch/archive/2005/03/03/384455.aspx"&gt;http://blogs.msdn.com/markhsch/archive/2005/03/03/384455.aspx&lt;/A&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=24917"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=24917" 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/mschmidt/aggbug/24917.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Mark Schmidt</dc:creator>
            <guid>http://geekswithblogs.net/mschmidt/archive/2005/03/03/24917.aspx</guid>
            <pubDate>Thu, 03 Mar 2005 19:05:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/mschmidt/comments/24917.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/mschmidt/archive/2005/03/03/24917.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/mschmidt/comments/commentRss/24917.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/mschmidt/services/trackbacks/24917.aspx</trackback:ping>
        </item>
        <item>
            <title>Regions Frustration 101</title>
            <link>http://geekswithblogs.net/mschmidt/archive/2004/05/27/5478.aspx</link>
            <description>&lt;P&gt;Why oh why does it not work?&amp;nbsp; I've said that so many times, but for the life of me cannot figure this one out.&lt;/P&gt;
&lt;P&gt;I thought I'd just go and play a little with Region objects for controls.&amp;nbsp; I basically use 3 images with a defined transparency color and generate Region objects from them.&amp;nbsp; I thought it would be a simple matter of being able to set the Region on my custom control depending on the state of the mouse (MouseEnter, MouseLeave, etc...).&lt;/P&gt;
&lt;P&gt;So, if the mouse enters the control, I do a good old &lt;/P&gt;
&lt;P&gt;&lt;EM&gt;this.Region = mouseOverRegion;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;That works.&amp;nbsp; MouseLeave occurs so I do:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;this.Region = mouseUpRegion;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;That works.&amp;nbsp; Mouse enters again, so the same code earlier is run:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;this.Region = mouseOverRegion;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;InvalidArgumentException with the call stack being:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;System.ArgumentException: Invalid parameter used.&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Drawing.Region.GetHrgn(Graphics g)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.GetHRgn(Region region)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.set_Region(Region value)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at Schmidt6.SKButton.SKButton_MouseEnter(Object sender, EventArgs e)&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;What?&amp;nbsp; Anyone have any clues on this?&amp;nbsp; I've tried just about everything in the book (except for the one that works naturally) including disposing the current &lt;EM&gt;this.Region&lt;/EM&gt;, setting it to &lt;EM&gt;null&lt;/EM&gt;, calling &lt;EM&gt;this.Region.MakeEmpty()&lt;/EM&gt; and probably a few other things.&amp;nbsp; Nothing seems to get it to work.&lt;/P&gt;
&lt;P&gt;Any help/insights appreciated.&amp;nbsp; So much for just &amp;#8220;playing around&amp;#8221; since I can't quit now until I get it solved.&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=5478"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=5478" 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/mschmidt/aggbug/5478.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Mark Schmidt</dc:creator>
            <guid>http://geekswithblogs.net/mschmidt/archive/2004/05/27/5478.aspx</guid>
            <pubDate>Thu, 27 May 2004 20:16:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/mschmidt/comments/5478.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/mschmidt/archive/2004/05/27/5478.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/mschmidt/comments/commentRss/5478.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/mschmidt/services/trackbacks/5478.aspx</trackback:ping>
        </item>
        <item>
            <title>Syntax Wars</title>
            <link>http://geekswithblogs.net/mschmidt/archive/2004/04/20/4130.aspx</link>
            <description>&lt;P&gt;I do far more work in unmanaged C++ (using ATL/COM) than I do in C#.&amp;nbsp; My C# work is limited to either supporting tools, or the &amp;#8220;extracurricular&amp;#8221; stuff I do away from home (book writing, shareware, web sites).&amp;nbsp; Lately, I've come to the realization that I'm mixing C# syntax with C++ syntax.&amp;nbsp; However, it doesn't hold the other way around.&amp;nbsp; I always catch myself writing C# code in an unmanaged C++ application (it's usually something like null instead of NULL, or the '.' operator instead of '-&amp;gt;').&amp;nbsp; So what does this mean?&amp;nbsp; It could be that C# syntax is more natural than that of C++ and hence I feel more comfortable using it.&amp;nbsp; Either that or I have the attention span of a 4 year old and blindly start coding without realizing what language I'm supposed to be using.&lt;/P&gt;
&lt;P&gt;What do you think?&amp;nbsp; Is there some type of discipline that analyzes the natural feel of language syntax and compares it to others?&amp;nbsp; In other words, a human factors engineer is to UI as ? is to programming language syntax.&amp;nbsp; Someone must have done a study on why the '.' operator is more natural than say a ':' or '-&amp;gt;'.&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=4130"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=4130" 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/mschmidt/aggbug/4130.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Mark Schmidt</dc:creator>
            <guid>http://geekswithblogs.net/mschmidt/archive/2004/04/20/4130.aspx</guid>
            <pubDate>Tue, 20 Apr 2004 18:28:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/mschmidt/comments/4130.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/mschmidt/archive/2004/04/20/4130.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/mschmidt/comments/commentRss/4130.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/mschmidt/services/trackbacks/4130.aspx</trackback:ping>
        </item>
        <item>
            <title>World record PowerPoint</title>
            <link>http://geekswithblogs.net/mschmidt/archive/2004/04/16/3991.aspx</link>
            <description>&lt;P&gt;I just finished giving a presentation on Whidbey (VS.NET 2k5) and C# 2.0 to a group of engineers (both local and remote via Netmeeting) here at HP.  Going into the class I was quite nervous.  Why? Was it stage fright? Nope, I dig presenting and teaching so that wasn't it.  The issue: I had 62 slides plus code demos to show...and 2 hours to do it in.  Doing the math, thats about 2 minutes allowed per slide and not including the demos.  Well, not only did I finish, but I finished with about 10 minutes to spare.  Granted, some of the slides were a quick &amp;#8220;this is what this means...next slide&amp;#8221;. I'm working with the Portland Area .NET User's Group (PADNUG) to give this same presentation so if you're in the Portland area and not a member of PADNUG, go check em out at &lt;A href="http://www.padnug.org"&gt;http://www.padnug.org&lt;/A&gt;.&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=3991"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=3991" 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/mschmidt/aggbug/3991.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Mark Schmidt</dc:creator>
            <guid>http://geekswithblogs.net/mschmidt/archive/2004/04/16/3991.aspx</guid>
            <pubDate>Fri, 16 Apr 2004 21:23:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/mschmidt/comments/3991.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/mschmidt/archive/2004/04/16/3991.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/mschmidt/comments/commentRss/3991.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/mschmidt/services/trackbacks/3991.aspx</trackback:ping>
        </item>
    </channel>
</rss>