<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>感悟生活</title>
        <link>http://blog.joycode.com/sam1111/Default.aspx</link>
        <description>Life is like a box of chocolates. You never know what you're gonna get. </description>
        <language>af</language>
        <copyright>sam1111</copyright>
        <managingEditor>sam1111@gmail.com</managingEditor>
        <generator>Joycode Version 1.0.0.0</generator>
        <image>
            <title>感悟生活</title>
            <url>http://www.joycode.com/images/sam1111/gravatar.aspx</url>
            <link>http://blog.joycode.com/sam1111/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>SharePoint的小秘密</title>
            <category>SharePoint</category>
            <link>http://blog.joycode.com/sam1111/archive/2007/12/04/112290.aspx</link>
            <description>摘要：工作重心转移到SharePoint上来已经有很长一段时间了。随着使用的深入，我常常会在SharePoint中遇到一些貌似神秘的行为，我称之为SharePoint的小秘密。如果有时间，我会将自己的一些观察和研究与大家分享。
刚才看到kaneboy在他的blog里讨论了迁移网站集所使用内容数据库的方法。一个Web Application支持多个Content DB是SharePoint一个很核心的功能，比如通过Content DB备份，迁移和恢复SharePoint网站，网站的性能等等，许多重要的功能都与此...[&lt;a href=/sam1111/archive/2007/12/04/112290.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/sam1111/aggbug/112290.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sam1111</dc:creator>
            <guid>http://blog.joycode.com/sam1111/archive/2007/12/04/112290.aspx</guid>
            <pubDate>Tue, 04 Dec 2007 14:14:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/sam1111/comments/112290.aspx</wfw:comment>
            <comments>http://blog.joycode.com/sam1111/archive/2007/12/04/112290.aspx#feedback</comments>
            <slash:comments>6</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/sam1111/comments/commentRss/112290.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/sam1111/services/trackbacks/112290.aspx</trackback:ping>
        </item>
        <item>
            <title>Get Audiences of WebParts.</title>
            <category>工作</category>
            <link>http://blog.joycode.com/sam1111/archive/2005/09/20/63713.aspx</link>
            <description>摘要：有客户问我，怎么拿到应用到WebPart上的Audiences。一想很简单，还不就是用AudienceManage通过Audience所对应的GUID来Get吗。谁知道一写才发现了问题，与某个WebPart对应的GUID去哪里找到呢？难道要去Query database？不信WebPart类有这么傻。
查了半天终于发现，WebPart的IsIncludedFilter属性包含了所有应用到WebPart上的Audiences的GUID，它们使用逗号分隔。知道了这个就简单了。&lt;!--

Code hig...[&lt;a href=/sam1111/archive/2005/09/20/63713.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/sam1111/aggbug/63713.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sam1111</dc:creator>
            <guid>http://blog.joycode.com/sam1111/archive/2005/09/20/63713.aspx</guid>
            <pubDate>Tue, 20 Sep 2005 09:42:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/sam1111/comments/63713.aspx</wfw:comment>
            <comments>http://blog.joycode.com/sam1111/archive/2005/09/20/63713.aspx#feedback</comments>
            <slash:comments>11</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/sam1111/comments/commentRss/63713.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/sam1111/services/trackbacks/63713.aspx</trackback:ping>
        </item>
        <item>
            <title>File Attachment in InfoPath</title>
            <category>学习</category>
            <category>工作</category>
            <link>http://blog.joycode.com/sam1111/archive/2005/07/04/58480.aspx</link>
            <description>摘要：根据InfoPath team blog里介绍的File Attachment Control的内容，写了两个类来处理文件的编码与解码。&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;    public class InfoPathAttachmentEncoder
    ...{
        private strin...[&lt;a href=/sam1111/archive/2005/07/04/58480.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/sam1111/aggbug/58480.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sam1111</dc:creator>
            <guid>http://blog.joycode.com/sam1111/archive/2005/07/04/58480.aspx</guid>
            <pubDate>Mon, 04 Jul 2005 05:07:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/sam1111/comments/58480.aspx</wfw:comment>
            <comments>http://blog.joycode.com/sam1111/archive/2005/07/04/58480.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/sam1111/comments/commentRss/58480.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/sam1111/services/trackbacks/58480.aspx</trackback:ping>
        </item>
        <item>
            <title>ScrollLabel for Smartphone 2003</title>
            <category>学习</category>
            <link>http://blog.joycode.com/sam1111/archive/2004/11/08/38393.aspx</link>
            <description>摘要：为偶的NotesManager小程序写了一个带滚动条的Label控件，效果看起来象下面这样：
&amp;nbsp; 
这个控件的实现思路说起来很简单，就是使用的一般Windows桌面程序中的窗口（Window）和视口（View）的概念。
考虑到Label本身不需要支持编辑的功能，出于效率的考虑，我在ScrollLabel控件中用一个Bitmap对象来保存Window的所有内容。在OnPaint中，如果发现Bitmap对象是空值（通常是第一次Paint），则根据当前Text的内容判断是否需要显示ScrollB...[&lt;a href=/sam1111/archive/2004/11/08/38393.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/sam1111/aggbug/38393.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sam1111</dc:creator>
            <guid>http://blog.joycode.com/sam1111/archive/2004/11/08/38393.aspx</guid>
            <pubDate>Mon, 08 Nov 2004 06:00:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/sam1111/comments/38393.aspx</wfw:comment>
            <comments>http://blog.joycode.com/sam1111/archive/2004/11/08/38393.aspx#feedback</comments>
            <slash:comments>14</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/sam1111/comments/commentRss/38393.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/sam1111/services/trackbacks/38393.aspx</trackback:ping>
        </item>
        <item>
            <title>小问题不断</title>
            <category>blog</category>
            <category>学习</category>
            <link>http://blog.joycode.com/sam1111/archive/2004/11/04/38040.aspx</link>
            <description>摘要：刚才收到mvm的邮件，说我的上一个post不能加comment，comment的submit按钮不work了，试了一下果然不能submit评论了。
刚才我用上一个post做了个测试，用来试验开心说的避免帖子显示在博客堂首页的方法，开始我以为这是引起问题的原因。Advanced里面的那一堆Checkbox前几个我都试了试，结果发现，似乎取消选中&amp;#8220;显示在首页&amp;#8221;并不能避免帖子显示在博客堂首页上，倒是帖子不会显示在自己的首页上了；取消选中&amp;#8220;发布&amp;#8221;的话，帖子不会显示...[&lt;a href=/sam1111/archive/2004/11/04/38040.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/sam1111/aggbug/38040.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sam1111</dc:creator>
            <guid>http://blog.joycode.com/sam1111/archive/2004/11/04/38040.aspx</guid>
            <pubDate>Thu, 04 Nov 2004 13:14:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/sam1111/comments/38040.aspx</wfw:comment>
            <comments>http://blog.joycode.com/sam1111/archive/2004/11/04/38040.aspx#feedback</comments>
            <slash:comments>20</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/sam1111/comments/commentRss/38040.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/sam1111/services/trackbacks/38040.aspx</trackback:ping>
        </item>
        <item>
            <title>NotesManager的小改进</title>
            <category>学习</category>
            <link>http://blog.joycode.com/sam1111/archive/2004/11/04/38033.aspx</link>
            <description>摘要：作了个小升级，主要是界面上的：
?? 
新版本可以在这里下载。
原打算为Smartphone建个专门的VirtualPC环境来开发，down了个干净的WinXP SP2 Image，然后在上面一步一步装好了需要的所有软件。安装好了之后，写了个小程序作测试，发现Emulator无法运行起来，报个错，错误信息很具调侃性质，说，Emulator不能运行在另一个Emulator中，你只是试试对吧？一时摸不着头脑，上网查了一下发现，Emulator原来也是一种虚拟机，而两个虚拟机是无法嵌套使用的。等偶有空了倒...[&lt;a href=/sam1111/archive/2004/11/04/38033.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/sam1111/aggbug/38033.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sam1111</dc:creator>
            <guid>http://blog.joycode.com/sam1111/archive/2004/11/04/38033.aspx</guid>
            <pubDate>Thu, 04 Nov 2004 12:09:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/sam1111/comments/38033.aspx</wfw:comment>
            <comments>http://blog.joycode.com/sam1111/archive/2004/11/04/38033.aspx#feedback</comments>
            <slash:comments>20</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/sam1111/comments/commentRss/38033.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/sam1111/services/trackbacks/38033.aspx</trackback:ping>
        </item>
        <item>
            <title>在Mobile设备上写程序</title>
            <category>blog</category>
            <link>http://blog.joycode.com/sam1111/archive/2004/10/08/35047.aspx</link>
            <description>Pocket C#是一个for Windows CE的C#编译器，可以用来在Windows Mobile平台上编译.NET CF的程序。这个编译器是从DotGNU中移植过来的，作者Vitaliy Pronkin还只不过是一个20岁的学生，他还打算开发Mobile Device上的IDE。随着Mobile Device的运算能力越来越强大，直接在这些设备上编写调试程序真的不是梦了。&lt;img src="http://blog.joycode.com/sam1111/aggbug/35047.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sam1111</dc:creator>
            <guid>http://blog.joycode.com/sam1111/archive/2004/10/08/35047.aspx</guid>
            <pubDate>Fri, 08 Oct 2004 12:20:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/sam1111/comments/35047.aspx</wfw:comment>
            <comments>http://blog.joycode.com/sam1111/archive/2004/10/08/35047.aspx#feedback</comments>
            <slash:comments>12</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/sam1111/comments/commentRss/35047.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/sam1111/services/trackbacks/35047.aspx</trackback:ping>
        </item>
        <item>
            <title>NotesManager for SmartPhone</title>
            <category>学习</category>
            <link>http://blog.joycode.com/sam1111/archive/2004/10/06/34877.aspx</link>
            <description>摘要：一直想为俺的dopod 565找个好用的记Notes的工具，可是找到的几个都是收美金的，只好暂时用npad来记录一些东西。可是每次记得东西都要保存成txt文件，找起来不是很方便。正好今天比较空，于是就按照自己的想法写了一个，感兴趣的可以到http://www.91mobile.com/dispbbs.asp?boardID=36&amp;amp;ID=47135下载。由于是用VS 2005 beta 1写的，就没有上传代码。
&amp;nbsp;&amp;nbsp;
之所以用VS 2005来写，主要有两个原因。一是VS 20...[&lt;a href=/sam1111/archive/2004/10/06/34877.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/sam1111/aggbug/34877.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sam1111</dc:creator>
            <guid>http://blog.joycode.com/sam1111/archive/2004/10/06/34877.aspx</guid>
            <pubDate>Wed, 06 Oct 2004 10:07:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/sam1111/comments/34877.aspx</wfw:comment>
            <comments>http://blog.joycode.com/sam1111/archive/2004/10/06/34877.aspx#feedback</comments>
            <slash:comments>18</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/sam1111/comments/commentRss/34877.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/sam1111/services/trackbacks/34877.aspx</trackback:ping>
        </item>
        <item>
            <title>VSTO 2005</title>
            <category>blog</category>
            <link>http://blog.joycode.com/sam1111/archive/2004/09/14/33387.aspx</link>
            <description>摘要：Paul Stubbs的blog上有几段关于VSTO 2005的Video。
如果安装了VS2005 beta1，VSTO 2005已经集成在里面了。对比VSTO 2003，2005加入了许多新特性，使得基于他来开发Office Solution变得更加简单。比如，用VSTO 2005写Word、Excel Solution的时候，Word或Excel被作为设计器整个的host进了IDE环境中，这样我们就可以充分利用VS2005提供的强大的IDE进行所见即所得的设计与编码了；在使用VSTO 2003的时...[&lt;a href=/sam1111/archive/2004/09/14/33387.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/sam1111/aggbug/33387.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sam1111</dc:creator>
            <guid>http://blog.joycode.com/sam1111/archive/2004/09/14/33387.aspx</guid>
            <pubDate>Tue, 14 Sep 2004 02:39:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/sam1111/comments/33387.aspx</wfw:comment>
            <comments>http://blog.joycode.com/sam1111/archive/2004/09/14/33387.aspx#feedback</comments>
            <slash:comments>13</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/sam1111/comments/commentRss/33387.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/sam1111/services/trackbacks/33387.aspx</trackback:ping>
        </item>
        <item>
            <title>Gmail Agent API for .Net</title>
            <category>学习</category>
            <link>http://blog.joycode.com/sam1111/archive/2004/09/08/32895.aspx</link>
            <description>摘要：最近gmail放松了新帐号的邀请，一时间似乎人人都有gmail的帐号，甚至有点送都送不出去的感觉，前段时间那种洛阳纸贵的情景一去不复返了。:)
这样倒好，用的人多了，研究的人自然也就多了。看看这个for .Net的Gmail Agent API ，用GET/POST的方式实现的，代码写的很精巧。记得以前有人讨论过gmail的为什么比别的web-based的邮件系统快，这个页面上给出了答案。
其他的比如这个在Linux上将gmail作为一个文件系统的GmailFS，for Python的库libgmai...[&lt;a href=/sam1111/archive/2004/09/08/32895.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/sam1111/aggbug/32895.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sam1111</dc:creator>
            <guid>http://blog.joycode.com/sam1111/archive/2004/09/08/32895.aspx</guid>
            <pubDate>Wed, 08 Sep 2004 10:29:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/sam1111/comments/32895.aspx</wfw:comment>
            <comments>http://blog.joycode.com/sam1111/archive/2004/09/08/32895.aspx#feedback</comments>
            <slash:comments>33</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/sam1111/comments/commentRss/32895.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/sam1111/services/trackbacks/32895.aspx</trackback:ping>
        </item>
    </channel>
</rss>