<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/atom10full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><!-- upgraded to Atom 1.0 by NBradbury 09-Nov-2006 --><feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">
    <title>NewsGator Inbox</title>
    
    <link rel="alternate" type="text/html" href="http://blogs.newsgator.com/inbox/" />
    <id>tag:typepad.com,2003:weblog-334282</id>
    <updated>2008-07-22T15:26:41Z</updated>
    <subtitle>Weblog of Nick Harris - Lead Developer of NewsGator Inbox and other various NewsGator applications and services.</subtitle>
    <generator uri="http://www.typepad.com/">TypePad</generator>
    <link rel="self" href="http://feeds.feedburner.com/typepad/newsgator/inbox" type="application/atom+xml" /><entry>
        <title>CS IQ and Turing Machines</title>
        <link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~3/342641977/cs-iq-and-turin.html" />
        <link rel="replies" type="text/html" href="http://blogs.newsgator.com/inbox/2008/07/cs-iq-and-turin.html" thr:count="1" thr:updated="2008-07-23T14:53:12Z" />
        <id>tag:typepad.com,2003:post-53071536</id>
        <published>2008-07-22T09:26:41-06:00</published>
        <updated>2008-07-22T15:26:50Z</updated>
        <summary>Found a great post in Nick Bradbury's Link Blog this morning titled "Generative Models and Programming Talent" that talks about what makes a good programmer good. The basic argument is that a good programmer is one who can easily visualize...</summary>
        <author>
            <name>Nick Harris</name>
        </author>
        
        
<content type="html" xml:lang="en-US" xml:base="http://blogs.newsgator.com/inbox/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;Found a great post in &lt;a href="http://feeds.feedburner.com/NickBradburyClippings"&gt;Nick Bradbury's Link Blog&lt;/a&gt; this morning titled "&lt;a href="http://esr.ibiblio.org/?p=316"&gt;Generative Models and Programming Talent&lt;/a&gt;" that talks about what makes a good programmer good.&amp;nbsp; The basic argument is that a good programmer is one who can easily visualize the implicit and explicit relationships between things and understands the how changing the state of one effects the others.&amp;nbsp; They (the author of the post and the author he quotes) call this "CS IQ".&amp;nbsp; It's a great read.&lt;/p&gt; &lt;p&gt;It reminded me of one of my favorite classes in college, CS406 Computational Theory.&amp;nbsp; It was the last CS class I took and also the one I did the best in.&amp;nbsp; The part of it I enjoyed the most was building and exploring &lt;a href="http://en.wikipedia.org/wiki/Turing_machine"&gt;Turing Machines&lt;/a&gt;.&amp;nbsp; &lt;/p&gt; &lt;p&gt;The reason why Turing Machines popped into my head while reading the article was this quote:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;[Good] programmers are able to “play computer” in their head (sometimes requiring the aid of a scrap of paper). In other words, we have a model of exactly what the computer does when it executes each statement.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Writing out Turning Machines on paper was extremely easy for me - so much so that it really surprised me.&amp;nbsp; Especially since a portion of the class just didn't get it, and I couldn't understand why.&amp;nbsp; The article seems to explain this by saying that some people instinctively think this way while others don't.&amp;nbsp; I'm not surprised that I do - I wouldn't have kept in this career if I hadn't - but now I kind of get why others had so many problems in that class.&lt;/p&gt; &lt;p&gt;It also gives me some good ideas for interview questions :-)&lt;/p&gt;&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~4/342641977" height="1" width="1"/&gt;</content>



	<slash:comments>1</slash:comments>


    <feedburner:origLink>http://blogs.newsgator.com/inbox/2008/07/cs-iq-and-turin.html</feedburner:origLink></entry>
    <entry>
        <title>Poll:  How do you use your news reader?</title>
        <link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~3/320855031/poll-how-do-you.html" />
        <link rel="replies" type="text/html" href="http://blogs.newsgator.com/inbox/2008/06/poll-how-do-you.html" thr:count="1" thr:updated="2008-07-20T22:52:16Z" />
        <id>tag:typepad.com,2003:post-51922082</id>
        <published>2008-06-26T16:28:31-06:00</published>
        <updated>2008-06-26T22:28:34Z</updated>
        <summary>How do you use your news reader? Do you leave it open all day? How much time do you spend reading news? http://forum.newsgator.com/Forum22-1.aspx</summary>
        <author>
            <name>Nick Harris</name>
        </author>
        
        
<content type="html" xml:lang="en-US" xml:base="http://blogs.newsgator.com/inbox/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;How do you use your news reader?&amp;nbsp; Do you leave it open all day?&amp;nbsp; How much time do you spend reading news? &lt;/p&gt; &lt;p&gt;&lt;a title="http://forum.newsgator.com/Forum22-1.aspx" href="http://forum.newsgator.com/Forum22-1.aspx"&gt;http://forum.newsgator.com/Forum22-1.aspx&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~4/320855031" height="1" width="1"/&gt;</content>



	<slash:comments>1</slash:comments>


    <feedburner:origLink>http://blogs.newsgator.com/inbox/2008/06/poll-how-do-you.html</feedburner:origLink></entry>
    <entry>
        <title>ReadBurner adds NewsGator Clippings</title>
        <link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~3/318389051/readburner-adds.html" />
        <link rel="replies" type="text/html" href="http://blogs.newsgator.com/inbox/2008/06/readburner-adds.html" thr:count="2" thr:updated="2008-07-20T22:52:44Z" />
        <id>tag:typepad.com,2003:post-51751182</id>
        <published>2008-06-23T15:20:10-06:00</published>
        <updated>2008-06-23T21:20:14Z</updated>
        <summary>I've written about NewsGator Clippings before here and how they're a cool way to share the things you find interesting with the rest of the world. Today that got even better as ReadBurner has added support for NewsGator Clippings! Now...</summary>
        <author>
            <name>Nick Harris</name>
        </author>
        
        
<content type="html" xml:lang="en-US" xml:base="http://blogs.newsgator.com/inbox/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;I've &lt;a href="http://blogs.newsgator.com/inbox/2007/03/clippings_anoth.html"&gt;written about NewsGator Clippings before here&lt;/a&gt; and how they're a cool way to share the things you find interesting with the rest of the world.&amp;nbsp; Today that got even better as &lt;a href="http://www.readburner.com"&gt;ReadBurner&lt;/a&gt; has added support for NewsGator Clippings!&amp;nbsp; Now things you clip in NewsGator Inbox, NewsGator Toolbar, NewsGator Go, FeedDemon and NetNewsWire can be added to ReadBurner as well.&lt;/p&gt; &lt;p&gt;To share your clippings from Inbox:&lt;/p&gt; &lt;p&gt;1.&amp;nbsp; Share one of your clipping folders in Inbox (&lt;a href="http://forum.newsgator.com/Topic40812-1-1.aspx"&gt;here's how&lt;/a&gt;) and copy the URL to your clipboard.&lt;br&gt;2.&amp;nbsp; Browse over to &lt;a href="http://www.readburner.com"&gt;www.readburner.com&lt;/a&gt;&lt;br&gt;3.&amp;nbsp; Go to the "Add Feed" option on the right hand side of the ReadBurner menu bar, then select “NewsGator Clippings” and enter the URL of your clipping feed.&lt;/p&gt;&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~4/318389051" height="1" width="1"/&gt;</content>



	<slash:comments>2</slash:comments>


    <feedburner:origLink>http://blogs.newsgator.com/inbox/2008/06/readburner-adds.html</feedburner:origLink></entry>
    <entry>
        <title>NewsGator Widgets in the Wild</title>
        <link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~3/306184977/newsgator-widge.html" />
        <link rel="replies" type="text/html" href="http://blogs.newsgator.com/inbox/2008/06/newsgator-widge.html" thr:count="1" thr:updated="2008-07-20T22:54:06Z" />
        <id>tag:typepad.com,2003:post-50927148</id>
        <published>2008-06-06T09:48:37-06:00</published>
        <updated>2008-06-06T15:48:41Z</updated>
        <summary>This morning I browsed over to one of the radio stations in town to listen to their live stream. I realized I hadn't been there in a while and never checked out the page for the new afternoon host. His...</summary>
        <author>
            <name>Nick Harris</name>
        </author>
        
        
<content type="html" xml:lang="en-US" xml:base="http://blogs.newsgator.com/inbox/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;This morning I browsed over to one of the radio stations in town to listen to their live stream.&amp;nbsp; I realized I hadn't been there in a while and never checked out the page for the new afternoon host.&amp;nbsp; His page looked oddly familiar...&lt;/p&gt; &lt;p&gt;&lt;a title="http://www.am760.net/pages/mario_solis-marich.html" href="http://www.am760.net/pages/mario_solis-marich.html"&gt;http://www.am760.net/pages/mario_solis-marich.html&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Two &lt;a href="http://nmp.newsgator.com/editorsdesk/"&gt;NewsGator Editors Desk&lt;/a&gt; widgets!&amp;nbsp; Pretty cool :-)&lt;/p&gt;&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~4/306184977" height="1" width="1"/&gt;</content>



	<slash:comments>1</slash:comments>


    <feedburner:origLink>http://blogs.newsgator.com/inbox/2008/06/newsgator-widge.html</feedburner:origLink></entry>
    <entry>
        <title>Do people just not like change?</title>
        <link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~3/303272496/do-people-just.html" />
        <link rel="replies" type="text/html" href="http://blogs.newsgator.com/inbox/2008/06/do-people-just.html" thr:count="3" thr:updated="2008-07-20T22:54:28Z" />
        <id>tag:typepad.com,2003:post-50736908</id>
        <published>2008-06-02T16:23:42-06:00</published>
        <updated>2008-06-02T22:23:46Z</updated>
        <summary>Denver NBC affiliate 9News updated their site over the weekend then ran a poll today asking what people thought. So far its not looking good: Personally I like the updated look better than the old site, though it's not the...</summary>
        <author>
            <name>Nick Harris</name>
        </author>
        
        
<content type="html" xml:lang="en-US" xml:base="http://blogs.newsgator.com/inbox/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;Denver NBC affiliate 9News updated &lt;a href="http://www.9news.com/"&gt;their site&lt;/a&gt; over the weekend then ran a poll today asking what people thought.&amp;nbsp; So far its not looking good:&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.newsgator.com/inbox/WindowsLiveWriter/image_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="195" alt="image" src="http://blogs.newsgator.com/inbox/WindowsLiveWriter/image_thumb_1.png" width="350" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Personally I like the updated look better than the old site, though it's not the greatest thing I've ever seen.&amp;nbsp; But it makes me wonder if people don't like it simply because its laid out different and they can't glance in the same place for headlines, or if there's something else.&lt;/p&gt; &lt;p&gt;Either way I wish Gannet would update their RSS feeds.&amp;nbsp; They have different content based on query string parameters, yet the name of each feed is always "KUSA - TV - " which is just annoying:&lt;/p&gt; &lt;p&gt;9News Local News: &lt;a title="http://www.gannett-tv.com/tools/rss/?cid=222&amp;amp;sid=kusa&amp;amp;num=10" href="http://www.gannett-tv.com/tools/rss/?cid=222&amp;amp;sid=kusa&amp;amp;num=10"&gt;http://www.gannett-tv.com/tools/rss/?cid=222&amp;amp;sid=kusa&amp;amp;num=10&lt;/a&gt;&lt;br&gt;9News Business News: &lt;a title="http://www.gannett-tv.com/tools/rss/?cid=75&amp;amp;sid=kusa&amp;amp;num=10" href="http://www.gannett-tv.com/tools/rss/?cid=75&amp;amp;sid=kusa&amp;amp;num=10"&gt;http://www.gannett-tv.com/tools/rss/?cid=75&amp;amp;sid=kusa&amp;amp;num=10&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~4/303272496" height="1" width="1"/&gt;</content>



	<slash:comments>3</slash:comments>


    <feedburner:origLink>http://blogs.newsgator.com/inbox/2008/06/do-people-just.html</feedburner:origLink></entry>
    <entry>
        <title>Outlook Development Tip - Preventing Multiple Events with Toolbar Buttons</title>
        <link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~3/300610372/outlook-devel-1.html" />
        <link rel="replies" type="text/html" href="http://blogs.newsgator.com/inbox/2008/05/outlook-devel-1.html" thr:count="1" thr:updated="2008-07-20T22:54:54Z" />
        <id>tag:typepad.com,2003:post-50563764</id>
        <published>2008-05-29T09:19:23-06:00</published>
        <updated>2008-05-29T15:19:27Z</updated>
        <summary>If you're hooking your toolbar to every Explorer that gets created in Outlook, you may run into an issue where the events that fire from your toolbar buttons will fire for every explorer that's open. So if I have a...</summary>
        <author>
            <name>Nick Harris</name>
        </author>
        
        
<content type="html" xml:lang="en-US" xml:base="http://blogs.newsgator.com/inbox/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;If you're hooking your toolbar to every Explorer that gets created in Outlook, you may run into an issue where the events that fire from your toolbar buttons will fire for every explorer that's open.&amp;nbsp; So if I have a button that opens a new window, and I have three explorers open, clicking that button will open three windows.&lt;/p&gt; &lt;p&gt;Easy to fix - be sure to set the "&lt;a href="http://msdn.microsoft.com/en-us/library/aa432923.aspx"&gt;Tag&lt;/a&gt;" property of the button to something unique.&amp;nbsp; Using the buttons instance ID helps.&amp;nbsp; Here's what I use in Inbox:&lt;/p&gt; &lt;p&gt;cmdBarButton.Tag = "cmdBarButton" + cmdBarButton.InstanceId.ToString();&lt;/p&gt;&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~4/300610372" height="1" width="1"/&gt;</content>



	<slash:comments>1</slash:comments>


    <feedburner:origLink>http://blogs.newsgator.com/inbox/2008/05/outlook-devel-1.html</feedburner:origLink></entry>
    <entry>
        <title>Outlook Development Tip - Icons on Toolbar Buttons</title>
        <link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~3/300112119/outlook-develop.html" />
        <link rel="replies" type="text/html" href="http://blogs.newsgator.com/inbox/2008/05/outlook-develop.html" thr:count="1" thr:updated="2008-07-20T22:55:14Z" />
        <id>tag:typepad.com,2003:post-50532058</id>
        <published>2008-05-28T15:48:25-06:00</published>
        <updated>2008-05-28T21:48:35Z</updated>
        <summary>Adding icons to your Outlook toolbar not only makes it look better, but it also helps with usability since training your mind to recognize an icon is easier than looking for a word. Picking the right icon than becomes very...</summary>
        <author>
            <name>Nick Harris</name>
        </author>
        
        
<content type="html" xml:lang="en-US" xml:base="http://blogs.newsgator.com/inbox/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;Adding icons to your Outlook toolbar not only makes it look better, but it also helps with usability since training your mind to recognize an icon is easier than looking for a word.&amp;nbsp; Picking the right icon than becomes very important.&lt;/p&gt; &lt;p&gt;Microsoft Office has hundreds of icons built in that you can use on your toolbar.&amp;nbsp; When you create the button, you simply give it the Face ID of the icon you want to use:&lt;/p&gt; &lt;p&gt;(Microsoft.Office.Core.CommandBarButton)cmdBarButton.FaceId = 984;&lt;/p&gt; &lt;p&gt;Finding the correct icon is easy using FaceID Browser (&lt;a title="http://skp.mvps.org/faceid.htm" href="http://skp.mvps.org/faceid.htm"&gt;http://skp.mvps.org/faceid.htm&lt;/a&gt;) - it's a must have for any Office Add-in developer.&lt;/p&gt; &lt;p&gt;Sometimes though you may want to add an icon that isn't built into Office.&amp;nbsp; This is where it gets a little trickier.&amp;nbsp; In Outlook 2003 and higher all you need to do is set the "Picture" and "Mask" properties of the button as outlined in &lt;a href="http://msdn.microsoft.com/en-us/library/ms268747(VS.80).aspx"&gt;this MSDN article&lt;/a&gt;.&amp;nbsp; For Outlook XP or 2000, you'll need copy your image to the clip board, than use the PasteFace() function.&lt;/p&gt; &lt;p&gt;Here's all the functions I use in Inbox to create custom toolbar icons:&lt;/p&gt; &lt;p&gt;using System;&lt;br&gt;using System.Collections.Generic;&lt;br&gt;using System.IO;&lt;br&gt;using System.Text;&lt;br&gt;using System.Reflection;&lt;br&gt;using System.Windows.Forms;&lt;br&gt;using System.Drawing;&lt;br&gt;using Outlook = Microsoft.Office.Interop.Outlook;&lt;br&gt;using Office = Microsoft.Office.Core;&lt;br&gt;using stdole;  &lt;p&gt;private void AddCustomIcon(string resourceName, Office.CommandBarButton btn)&lt;br&gt;{&lt;br&gt;&amp;nbsp; try&lt;br&gt;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Assembly ng = Assembly.GetAssembly(m_nginbox.GetType());&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stream str = ng.GetManifestResourceStream(resourceName);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bitmap bm = new Bitmap(str);  &lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (IsOutlookXP())&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; btn.Picture = (IPictureDisp)AxHost2.GetIPictureDispFromPicture(bm);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; btn.Mask = (IPictureDisp)AxHost2.GetIPictureDispFromPicture(CreateMask(bm));&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MakeBitmapTransparent(bm);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SaveCurrentClipboard();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Clipboard.SetDataObject(bm);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; btn.PasteFace();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RestoreClipboard();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp; }&lt;br&gt;&amp;nbsp; catch (System.Exception ex)&lt;br&gt;&amp;nbsp; {&lt;br&gt;&amp;nbsp; }  &lt;p&gt;private void SaveCurrentClipboard()&lt;br&gt;{&lt;br&gt;&amp;nbsp; IDataObject clipboardCurrent = Clipboard.GetDataObject();&lt;br&gt;&amp;nbsp; clipboardPreserve = new DataObject();&lt;br&gt;&amp;nbsp; foreach (string format in clipboardCurrent.GetFormats(false))&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; clipboardPreserve.SetData(format, clipboardCurrent.GetData(format));&lt;/p&gt; &lt;p&gt;} &lt;/p&gt; &lt;p&gt;private void RestoreClipboard()&lt;br&gt;{&lt;br&gt;&amp;nbsp; if (clipboardPreserve != null)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Clipboard.SetDataObject(clipboardPreserve, true);&lt;br&gt;}  &lt;p&gt;private void MakeBitmapTransparent(Bitmap icon)&lt;br&gt;{&lt;br&gt;&amp;nbsp; Color colorTransparent = icon.GetPixel(0, 0);&lt;br&gt;&amp;nbsp; for (int x = icon.Width - 1; x &amp;gt;= 0; x--)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int y = icon.Height - 1; y &amp;gt;= 0; y--)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (icon.GetPixel(x, y) == colorTransparent)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; icon.SetPixel(x, y,&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Color.FromKnownColor(System.Drawing.KnownColor.Control));&lt;br&gt;}  &lt;p&gt;private Bitmap CreateMask(Bitmap original)&lt;br&gt;{&lt;br&gt;&amp;nbsp; Bitmap mask = new Bitmap(16, 16);&lt;br&gt;&amp;nbsp; Color colorTransparent = original.GetPixel(0, 0);&lt;br&gt;&amp;nbsp; for (int x = original.Width - 1; x &amp;gt;= 0; x--)&lt;br&gt;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int y = original.Height - 1; y &amp;gt;= 0; y--)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (original.GetPixel(x, y) == colorTransparent)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mask.SetPixel(x, y, System.Drawing.Color.White);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mask.SetPixel(x, y, System.Drawing.Color.Black);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp; }&lt;br&gt;&amp;nbsp; return mask;&lt;br&gt;}&lt;br&gt; &lt;p&gt;public class AxHost2 : AxHost&lt;br&gt;{&lt;br&gt;&amp;nbsp; public AxHost2() : base(null) { }&lt;br&gt;&amp;nbsp; public new static IPictureDisp GetIPictureDispFromPicture(Image image)&lt;br&gt;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return (IPictureDisp)AxHost.GetIPictureDispFromPicture(image);&lt;br&gt;&amp;nbsp; }&lt;br&gt;}&lt;/p&gt;&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~4/300112119" height="1" width="1"/&gt;</content>



	<slash:comments>1</slash:comments>


    <feedburner:origLink>http://blogs.newsgator.com/inbox/2008/05/outlook-develop.html</feedburner:origLink></entry>
    <entry>
        <title>Strongly Typed Languages</title>
        <link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~3/295159586/strongly-typed.html" />
        <link rel="replies" type="text/html" href="http://blogs.newsgator.com/inbox/2008/05/strongly-typed.html" thr:count="0" />
        <id>tag:typepad.com,2003:post-50217318</id>
        <published>2008-05-21T10:28:17-06:00</published>
        <updated>2008-05-21T16:28:20Z</updated>
        <summary>One thing that I've never liked about JavaScript is that it's not a strongly typed programming language. I get the arguments around dynamic typing but I've never found the benefits to be anything substantial. Strong typing is also why I...</summary>
        <author>
            <name>Nick Harris</name>
        </author>
        
        
<content type="html" xml:lang="en-US" xml:base="http://blogs.newsgator.com/inbox/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;One thing that I've never liked about JavaScript is that it's not a strongly typed programming language.&amp;nbsp; I get the arguments around dynamic typing but I've never found the benefits to be anything substantial.&amp;nbsp; Strong typing is also why I preferred Delphi over Visual Basic when I first started Windows programming.&lt;/p&gt; &lt;p&gt;Dare's post about &lt;a href="http://www.25hoursaday.com/weblog/2008/05/21/C30ImplicitTypeDeclarationsToVarOrNotToVar.aspx"&gt;implicit type declarations in C# 3.0&lt;/a&gt; and refactoring tools that suggest using "var" in place of using a static types is troublesome.&amp;nbsp; Readability is one thing, but the biggest benefit to me of strongly typed languages is the amount of runtime errors that can be prevented at compile time.&amp;nbsp; I'd rather know that the property I'm trying to access on an object doesn't exists &lt;em&gt;before&lt;/em&gt; I run code.&amp;nbsp; &lt;/p&gt; &lt;p&gt;Dare's point about variable naming is also something that I think about often when writing code.&amp;nbsp; MyObject.Name is my preferred way of writing as opposed to MyObject.MyObjectName - even though it may be a little more readable when I come back to the code later, the extra time and space to include type information in a property name isn't worth it.&lt;/p&gt; &lt;p&gt;This reminds me of when I first heard that versions of .Net will allow you to mix C# or VB directly into your SQL stored procedures.&amp;nbsp; Yes, it may give less experienced programmers the ability to manipulate SQL results with languages they already know, but it discourages learning the proper use of the programming tools they have.&amp;nbsp; You can hit a nail with a wrench, but a hammer works much better.&lt;/p&gt; &lt;p&gt;&lt;em&gt;I also see now why people say they blog less when they start using twitter - I'm making an effort to change that.&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~4/295159586" height="1" width="1"/&gt;</content>



	<slash:comments>0</slash:comments>


    <feedburner:origLink>http://blogs.newsgator.com/inbox/2008/05/strongly-typed.html</feedburner:origLink></entry>
    <entry>
        <title>Nick Bradbury asks - The Future of Feed Reading: What Do YOU Want?</title>
        <link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~3/293591281/nick-bradbury-a.html" />
        <link rel="replies" type="text/html" href="http://blogs.newsgator.com/inbox/2008/05/nick-bradbury-a.html" thr:count="1" thr:updated="2008-07-20T22:55:44Z" />
        <id>tag:typepad.com,2003:post-50088768</id>
        <published>2008-05-19T10:13:39-06:00</published>
        <updated>2008-05-19T16:13:43Z</updated>
        <summary>Nick Bradbury is asking his users an interesting question - "The Future of Feed Reading: What Do YOU Want?". Below is Nick's post. What kind of things do you want when it comes to RSS? Feel free to comment here...</summary>
        <author>
            <name>Nick Harris</name>
        </author>
        
        
<content type="html" xml:lang="en-US" xml:base="http://blogs.newsgator.com/inbox/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;Nick Bradbury is asking his users an interesting question - "The Future of Feed Reading: What Do YOU Want?".&amp;nbsp; Below is Nick's post.&amp;nbsp; What kind of things do you want when it comes to RSS?&amp;nbsp; Feel free to comment here or on Nick's post. &lt;p&gt;&lt;a title="http://nick.typepad.com/blog/2008/05/the-future-of-f.html" href="http://nick.typepad.com/blog/2008/05/the-future-of-f.html"&gt;http://nick.typepad.com/blog/2008/05/the-future-of-f.html&lt;/a&gt; &lt;blockquote&gt; &lt;p&gt;Every now and then I'll see a blog post predicting the future of feed reading, and invariably it's written by someone who spends every waking moment reading their feeds.&amp;nbsp; Which is fine, of course - we certainly want to know what power users expect from the future of RSS.&amp;nbsp; But predictions from these folks are usually based on what they &lt;em&gt;need&lt;/em&gt; from RSS, and their needs don't always match the needs of the majority. &lt;p&gt;Most people who use an RSS reader don't live in it.&amp;nbsp; They use it to stay up-to-date with the latest news from the blogosphere, to keep tabs on what people they trust are talking about, or simply to kill some time between more important tasks. &lt;p&gt;This blog post is aimed towards these people - the ones who love their RSS reader, but don't feel withdrawal symptoms when they don't use it for a day. &lt;p&gt;What do &lt;strong&gt;you&lt;/strong&gt; want from your RSS reader in the future?&amp;nbsp; If you could change the future of feed reading to suit your needs, what would you want that future to look like?&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~4/293591281" height="1" width="1"/&gt;</content>



	<slash:comments>1</slash:comments>


    <feedburner:origLink>http://blogs.newsgator.com/inbox/2008/05/nick-bradbury-a.html</feedburner:origLink></entry>
    <entry>
        <title>Should I tell Microsoft about this problem?</title>
        <link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~3/275600139/should-i-tell-m.html" />
        <link rel="replies" type="text/html" href="http://blogs.newsgator.com/inbox/2008/04/should-i-tell-m.html" thr:count="2" thr:updated="2008-07-20T22:56:04Z" />
        <id>tag:typepad.com,2003:post-48854868</id>
        <published>2008-04-22T12:57:16-06:00</published>
        <updated>2008-04-22T18:57:20Z</updated>
        <summary>I'm sure they would love to know...</summary>
        <author>
            <name>Nick Harris</name>
        </author>
        
        
<content type="html" xml:lang="en-US" xml:base="http://blogs.newsgator.com/inbox/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;&lt;a href="http://blogs.newsgator.com/inbox/WindowsLiveWriter/image_1.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="264" alt="image" src="http://blogs.newsgator.com/inbox/WindowsLiveWriter/image_thumb.png" width="419" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;I'm sure they would love to know...&lt;/p&gt;&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/typepad/newsgator/inbox/~4/275600139" height="1" width="1"/&gt;</content>



	<slash:comments>2</slash:comments>


    <feedburner:origLink>http://blogs.newsgator.com/inbox/2008/04/should-i-tell-m.html</feedburner:origLink></entry>
 
</feed>
